fix: Bluetooth power level set too low (#4019)
This commit is contained in:
@@ -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) &&
|
||||
|
||||
Reference in New Issue
Block a user