mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-06-06 05:14:45 +00:00
Fix data type of power level and delta to handle negative values
This commit is contained in:
committed by
Abhinav Kudnar
parent
da406d7732
commit
83eff1bfec
@@ -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
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user