From 83eff1bfec4d8e43e5dcabe21b9327131f86e1d4 Mon Sep 17 00:00:00 2001 From: Rahul Tank Date: Thu, 8 Jun 2023 13:17:43 +0530 Subject: [PATCH] Fix data type of power level and delta to handle negative values --- nimble/host/include/host/ble_gap.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nimble/host/include/host/ble_gap.h b/nimble/host/include/host/ble_gap.h index e5c689f33..2a322c8ea 100644 --- a/nimble/host/include/host/ble_gap.h +++ b/nimble/host/include/host/ble_gap.h @@ -1069,14 +1069,14 @@ struct ble_gap_event { /** Advertising PHY */ uint8_t phy; - /** Transmit power Level */ - int8_t transmit_power_level; + /** Transmit power Level */ + int8_t transmit_power_level; /** Transmit Power Level Flag */ uint8_t transmit_power_level_flag; - /** Delta indicating change in transmit Power Level */ - int8_t delta; + /** Delta indicating change in transmit Power Level */ + int8_t delta; } transmit_power; #endif /**