mirror of
https://github.com/h2zero/esp-nimble-cpp.git
synced 2024-11-23 13:40:55 +01:00
Fix getPower return value
Power level -3 returned the wrong value.
This commit is contained in:
parent
efa48c0d57
commit
9ab278d19e
1 changed files with 1 additions and 1 deletions
|
@ -407,7 +407,7 @@ int NimBLEDevice::getPower(esp_ble_power_type_t powerType) {
|
|||
case ESP_PWR_LVL_N6:
|
||||
return -6;
|
||||
case ESP_PWR_LVL_N3:
|
||||
return -6;
|
||||
return -3;
|
||||
case ESP_PWR_LVL_N0:
|
||||
return 0;
|
||||
case ESP_PWR_LVL_P3:
|
||||
|
|
Loading…
Reference in a new issue