diff --git a/src/server/ble_ext_advertising.rs b/src/server/ble_ext_advertising.rs index 0e2b20d..0059d63 100644 --- a/src/server/ble_ext_advertising.rs +++ b/src/server/ble_ext_advertising.rs @@ -17,7 +17,7 @@ impl BLEExtAdvertisement { Self { payload: Vec::new(), params: esp_idf_sys::ble_gap_ext_adv_params { - own_addr_type: unsafe { crate::ble_device::OWN_ADDR_TYPE }, + own_addr_type: unsafe { crate::ble_device::OWN_ADDR_TYPE as _ }, primary_phy, secondary_phy, tx_power: 127,