fix: Bluetooth power level set too low (#4019)

This commit is contained in:
b14ckyy
2023-09-23 13:50:15 +10:00
committed by GitHub
parent 70fcc900c2
commit 5597cf6476
+1 -1
View File
@@ -470,7 +470,7 @@ void Bluetooth::wakeup()
} else if (state == BLUETOOTH_STATE_NAME_SENT && (line != nullptr) &&
(!strncmp(line, "OK+", 3) || !strncmp(line, "Central:", 8) ||
!strncmp(line, "Peripheral:", 11))) {
writeString("AT+TXPW0");
writeString("AT+TXPW2");
state = BLUETOOTH_STATE_POWER_SENT;
} else if (state == BLUETOOTH_STATE_POWER_SENT &&
(line != nullptr) &&