summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/gui/statusbar.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/apps/gui/statusbar.c b/apps/gui/statusbar.c
index b5d8b7c9ed..cceb54ede6 100644
--- a/apps/gui/statusbar.c
+++ b/apps/gui/statusbar.c
@@ -222,10 +222,12 @@ void gui_statusbar_draw(struct gui_statusbar * bar, bool force_redraw)
222 STATUSBAR_PLUG_X_POS, 222 STATUSBAR_PLUG_X_POS,
223 STATUSBAR_Y_POS, STATUSBAR_PLUG_WIDTH, 223 STATUSBAR_Y_POS, STATUSBAR_PLUG_WIDTH,
224 STATUSBAR_HEIGHT); 224 STATUSBAR_HEIGHT);
225 else
226#endif /* HAVE_USB_POWER */ 225#endif /* HAVE_USB_POWER */
227 /* draw power plug if charging */
228#ifdef CONFIG_CHARGING 226#ifdef CONFIG_CHARGING
227#ifdef HAVE_USB_POWER
228 else
229#endif
230 /* draw power plug if charging */
229 if (bar->info.inserted) 231 if (bar->info.inserted)
230 display->mono_bitmap(bitmap_icons_7x8[Icon_Plug], 232 display->mono_bitmap(bitmap_icons_7x8[Icon_Plug],
231 STATUSBAR_PLUG_X_POS, 233 STATUSBAR_PLUG_X_POS,
@@ -234,8 +236,7 @@ void gui_statusbar_draw(struct gui_statusbar * bar, bool force_redraw)
234#endif 236#endif
235 237
236 bar->redraw_volume = gui_statusbar_icon_volume(bar, bar->info.volume); 238 bar->redraw_volume = gui_statusbar_icon_volume(bar, bar->info.volume);
237 gui_statusbar_icon_play_state(display, current_playmode() + 239 gui_statusbar_icon_play_state(display, current_playmode() + Icon_Play);
238 Icon_Play);
239 240
240 switch (bar->info.repeat) { 241 switch (bar->info.repeat) {
241#if (AB_REPEAT_ENABLE == 1) 242#if (AB_REPEAT_ENABLE == 1)