This is an automated email from the ASF dual-hosted git repository. hauke pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
The following commit(s) were added to refs/heads/master by this push: new 4f32114 controller/phy: mark ununsed var in ble_phy.h 4f32114 is described below commit 4f32114fae4ac9343f440eeccadc0d42bf65b91b Author: Hauke Petersen <hauke.peter...@fu-berlin.de> AuthorDate: Thu Oct 8 10:55:29 2020 +0200 controller/phy: mark ununsed var in ble_phy.h --- nimble/controller/include/controller/ble_phy.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nimble/controller/include/controller/ble_phy.h b/nimble/controller/include/controller/ble_phy.h index cabb0ad..cd8350d 100644 --- a/nimble/controller/include/controller/ble_phy.h +++ b/nimble/controller/include/controller/ble_phy.h @@ -225,6 +225,8 @@ static inline int ble_ll_phy_to_phy_mode(int phy, int phy_options) if (phy == BLE_PHY_CODED && phy_options == BLE_HCI_LE_PHY_CODED_S2_PREF) { phy_mode = BLE_PHY_MODE_CODED_500KBPS; } +#else + (void)phy_options; #endif return phy_mode;