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));
}
/*char* bleValue;*/
bleState = bleController.IsConnected();
if (bleState.IsUpdated()) {
char bleStr[24];
sprintf(bleStr, "[STAT]#387b54 %s#",bleController.IsConnected() ? "Connected" : "Disconnected");