Skip to content

Commit a58b6c6

Browse files
committed
fix(ble): Fix getPower return value
1 parent 2bb78a9 commit a58b6c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/BLE/src/BLEDevice.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ int BLEDevice::getPower(esp_ble_power_type_t powerType) {
464464
case ESP_PWR_LVL_N12: return -12;
465465
case ESP_PWR_LVL_N9: return -9;
466466
case ESP_PWR_LVL_N6: return -6;
467-
case ESP_PWR_LVL_N3: return -6;
467+
case ESP_PWR_LVL_N3: return -3;
468468
case ESP_PWR_LVL_N0: return 0;
469469
case ESP_PWR_LVL_P3: return 3;
470470
case ESP_PWR_LVL_P6: return 6;

0 commit comments

Comments
 (0)