fix (nimble): Fix data type of power level and delta to handle negative values

This commit is contained in:
Rahul Tank
2023-06-08 13:18:28 +05:30
parent 6eda92653c
commit b926bf5048
3 changed files with 4 additions and 4 deletions
@@ -808,7 +808,7 @@ blecent_gap_event(struct ble_gap_event *event, void *arg)
#if MYNEWT_VAL(BLE_POWER_CONTROL)
case BLE_GAP_EVENT_TRANSMIT_POWER:
MODLOG_DFLT(INFO, "Transmit power event : status=%d conn_handle=%d reason=%d "
"phy=%d power_level=%x power_level_flag=%d delta=%d",
"phy=%d power_level=%d power_level_flag=%d delta=%d",
event->transmit_power.status,
event->transmit_power.conn_handle,
event->transmit_power.reason,