Update src/displayapp/screens/WatchFaceTerminal.cpp

Co-authored-by: NeroBurner <pyro4hell@gmail.com>
This commit is contained in:
Марков Дмитрий 2022-02-02 09:03:10 +05:00 committed by GitHub
parent 6853166cf5
commit 471a843909
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,7 +123,7 @@ void WatchFaceTerminal::Refresh() {
lv_label_set_text(batteryPlug, BatteryIcon::GetPlugIcon(isCharging)); lv_label_set_text(batteryPlug, BatteryIcon::GetPlugIcon(isCharging));
} }
/*char* bleValue;*/ bleState = bleController.IsConnected();
if (bleState.IsUpdated()) { if (bleState.IsUpdated()) {
char bleStr[24]; char bleStr[24];
sprintf(bleStr, "[STAT]#387b54 %s#",bleController.IsConnected() ? "Connected" : "Disconnected"); sprintf(bleStr, "[STAT]#387b54 %s#",bleController.IsConnected() ? "Connected" : "Disconnected");