diff options
Diffstat (limited to 'apps/gui/statusbar.c')
-rw-r--r-- | apps/gui/statusbar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/statusbar.c b/apps/gui/statusbar.c index cceb54ede6..cbd1709bbc 100644 --- a/apps/gui/statusbar.c +++ b/apps/gui/statusbar.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include "led.h" | 34 | #include "led.h" |
35 | 35 | ||
36 | #include "status.h" /* needed for battery_state global var */ | 36 | #include "status.h" /* needed for battery_state global var */ |
37 | #include "gwps.h" /* for keys_locked */ | 37 | #include "action.h" /* for keys_locked */ |
38 | #include "statusbar.h" | 38 | #include "statusbar.h" |
39 | 39 | ||
40 | 40 | ||
@@ -178,7 +178,7 @@ void gui_statusbar_draw(struct gui_statusbar * bar, bool force_redraw) | |||
178 | #ifdef HAS_BUTTON_HOLD | 178 | #ifdef HAS_BUTTON_HOLD |
179 | bar->info.keylock = button_hold(); | 179 | bar->info.keylock = button_hold(); |
180 | #else | 180 | #else |
181 | bar->info.keylock = keys_locked; | 181 | bar->info.keylock = is_keys_locked(); |
182 | #endif /* HAS_BUTTON_HOLD */ | 182 | #endif /* HAS_BUTTON_HOLD */ |
183 | #ifdef HAS_REMOTE_BUTTON_HOLD | 183 | #ifdef HAS_REMOTE_BUTTON_HOLD |
184 | bar->info.keylockremote = remote_button_hold(); | 184 | bar->info.keylockremote = remote_button_hold(); |