diff options
author | Diego Miguel <dmlls@diegomiguel.me> | 2022-03-02 00:34:39 +0100 |
---|---|---|
committer | Diego Miguel <dmlls@diegomiguel.me> | 2022-06-11 16:56:35 +0200 |
commit | be16ef0d56c471dc905c10e8708a107285639d0b (patch) | |
tree | 65c2717567fa083e15bb94b0afc5d2cc7f8fe21a /src/displayapp/screens/WatchFaceInfineat.cpp | |
parent | 8f54332e5d036e2b13b6764045efcbc0dc169113 (diff) |
Update BLE controller in Infineat watchface
Diffstat (limited to 'src/displayapp/screens/WatchFaceInfineat.cpp')
-rw-r--r-- | src/displayapp/screens/WatchFaceInfineat.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/displayapp/screens/WatchFaceInfineat.cpp b/src/displayapp/screens/WatchFaceInfineat.cpp index 4d9ec1e6..5ca7d70d 100644 --- a/src/displayapp/screens/WatchFaceInfineat.cpp +++ b/src/displayapp/screens/WatchFaceInfineat.cpp @@ -428,8 +428,9 @@ void WatchFaceInfineat::Refresh() { } bleState = bleController.IsConnected(); + bleRadioEnabled = bleController.IsRadioEnabled(); if (bleState.IsUpdated()) { - lv_label_set_text(bleIcon, BleIcon::GetIcon(bleState.Get())); + lv_label_set_text(bleIcon, BleIcon::GetIcon(bleRadioEnabled.Get(), bleState.Get())); lv_obj_align(bleIcon, labelDate, LV_ALIGN_OUT_BOTTOM_MID, 0, 3); } |