From 0c4f89370d05056faa789aa9cabcccc4e509fb9f Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sun, 19 Jul 2020 19:38:45 -0400 Subject: [2/4] get rid of HAVE_LCD_CHARCELLS HAVE_LCD_BITMAP is now redundant. lcd_bitmap is always-on in features.txt so manual and lang strings don't have to change Change-Id: I08eeb20de48099ffc2dc23782711af368c2ec794 --- apps/gui/wps.c | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'apps/gui/wps.c') diff --git a/apps/gui/wps.c b/apps/gui/wps.c index a930edaded..b417f82922 100644 --- a/apps/gui/wps.c +++ b/apps/gui/wps.c @@ -232,11 +232,6 @@ static bool update_onvol_change(enum screen_type screen) { skin_update(WPS, screen, SKIN_REFRESH_NON_STATIC); -#ifdef HAVE_LCD_CHARCELLS - splashf(0, "Vol: %3d dB", - sound_val2phys(SOUND_VOLUME, global_settings.volume)); - return true; -#endif return false; } @@ -401,10 +396,6 @@ bool ffwd_rew(int button) #if (CONFIG_CODEC != SWCODEC) if (!skin_get_global_state()->paused) audio_resume(); -#endif -#ifdef HAVE_LCD_CHARCELLS - FOR_NB_SCREENS(i) - skin_update(WPS, i, SKIN_REFRESH_ALL); #endif exit = true; break; @@ -741,11 +732,6 @@ long gui_wps_show(void) long last_left = 0, last_right = 0; struct wps_state *state = skin_get_global_state(); -#ifdef HAVE_LCD_CHARCELLS - status_set_audio(true); - status_set_param(false); -#endif - #ifdef AB_REPEAT_ENABLE ab_repeat_init(); ab_reset_markers(); @@ -833,10 +819,6 @@ long gui_wps_show(void) break; case ACTION_WPS_BROWSE: -#ifdef HAVE_LCD_CHARCELLS - status_set_record(false); - status_set_audio(false); -#endif gwps_leave_wps(); return GO_TO_PREVIOUS_BROWSER; break; @@ -1146,10 +1128,6 @@ long gui_wps_show(void) } if (exit) { -#ifdef HAVE_LCD_CHARCELLS - status_set_record(false); - status_set_audio(false); -#endif #if CONFIG_CODEC != SWCODEC if (global_settings.fade_on_stop) fade(false, true); -- cgit v1.2.3