summaryrefslogtreecommitdiff
path: root/apps/plugins/oscilloscope.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/oscilloscope.c')
-rw-r--r--apps/plugins/oscilloscope.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/plugins/oscilloscope.c b/apps/plugins/oscilloscope.c
index ae84e14f7f..ef9e6b8a98 100644
--- a/apps/plugins/oscilloscope.c
+++ b/apps/plugins/oscilloscope.c
@@ -1939,10 +1939,9 @@ static void osc_cleanup(void)
1939 rb->lcd_set_foreground(LCD_DEFAULT_FG); 1939 rb->lcd_set_foreground(LCD_DEFAULT_FG);
1940 rb->lcd_set_background(LCD_DEFAULT_BG); 1940 rb->lcd_set_background(LCD_DEFAULT_BG);
1941#endif 1941#endif
1942#ifdef HAVE_BACKLIGHT 1942
1943 /* Turn on backlight timeout (revert to settings) */ 1943 /* Turn on backlight timeout (revert to settings) */
1944 backlight_use_settings(); 1944 backlight_use_settings();
1945#endif
1946 1945
1947 /* save settings if changed */ 1946 /* save settings if changed */
1948 if (rb->memcmp(&osc, &osc_disk, sizeof(osc))) 1947 if (rb->memcmp(&osc, &osc_disk, sizeof(osc)))
@@ -1975,10 +1974,9 @@ static void osc_setup(void)
1975 mixer_sampr = rb->mixer_get_frequency(); 1974 mixer_sampr = rb->mixer_get_frequency();
1976#endif 1975#endif
1977 1976
1978#ifdef HAVE_BACKLIGHT
1979 /* Turn off backlight timeout */ 1977 /* Turn off backlight timeout */
1980 backlight_ignore_timeout(); 1978 backlight_ignore_timeout();
1981#endif 1979
1982 graphmode_setup(); 1980 graphmode_setup();
1983} 1981}
1984 1982