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.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugins/oscilloscope.c b/apps/plugins/oscilloscope.c
index 2af70204a1..4fd1883f82 100644
--- a/apps/plugins/oscilloscope.c
+++ b/apps/plugins/oscilloscope.c
@@ -1929,9 +1929,10 @@ static void osc_cleanup(void)
1929 rb->lcd_set_foreground(LCD_DEFAULT_FG); 1929 rb->lcd_set_foreground(LCD_DEFAULT_FG);
1930 rb->lcd_set_background(LCD_DEFAULT_BG); 1930 rb->lcd_set_background(LCD_DEFAULT_BG);
1931#endif 1931#endif
1932#ifdef HAVE_BACKLIGHT
1932 /* Turn on backlight timeout (revert to settings) */ 1933 /* Turn on backlight timeout (revert to settings) */
1933 backlight_use_settings(); 1934 backlight_use_settings();
1934 1935#endif
1935 1936
1936 /* save settings if changed */ 1937 /* save settings if changed */
1937 if (rb->memcmp(&osc, &osc_disk, sizeof(osc))) 1938 if (rb->memcmp(&osc, &osc_disk, sizeof(osc)))
@@ -1964,8 +1965,10 @@ static void osc_setup(void)
1964 mixer_sampr = rb->mixer_get_frequency(); 1965 mixer_sampr = rb->mixer_get_frequency();
1965#endif 1966#endif
1966 1967
1968#ifdef HAVE_BACKLIGHT
1967 /* Turn off backlight timeout */ 1969 /* Turn off backlight timeout */
1968 backlight_ignore_timeout(); 1970 backlight_ignore_timeout();
1971#endif
1969 graphmode_setup(); 1972 graphmode_setup();
1970} 1973}
1971 1974