summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/settings.c3
-rw-r--r--firmware/drivers/lcd-h100-remote.c5
2 files changed, 6 insertions, 2 deletions
diff --git a/apps/settings.c b/apps/settings.c
index 0031130f9a..f1b6f29957 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -1694,6 +1694,9 @@ void settings_reset(void) {
global_settings.superbass = sound_default(SOUND_SUPERBASS);
#endif
global_settings.contrast = lcd_default_contrast();
+#ifdef HAVE_LCD_REMOTE
+ global_settings.remote_contrast = lcd_remote_default_contrast();
+#endif
#ifdef CONFIG_TUNER
global_settings.fmr_file[0] = '\0';
diff --git a/firmware/drivers/lcd-h100-remote.c b/firmware/drivers/lcd-h100-remote.c
index 4d3921fa26..99f1b9aa55 100644
--- a/firmware/drivers/lcd-h100-remote.c
+++ b/firmware/drivers/lcd-h100-remote.c
@@ -94,10 +94,11 @@ static struct event_queue remote_scroll_queue;
static bool remote_initialized = false;
static int _remote_type = 0;
+#define LCD_REMOTE_DEFAULT_CONTRAST 42;
/* cached settings values */
static bool cached_invert = false;
static bool cached_flip = false;
-static int cached_contrast = 32;
+static int cached_contrast = LCD_REMOTE_DEFAULT_CONTRAST;
#endif
/* scrolling */
@@ -350,7 +351,7 @@ void lcd_remote_write_data(const unsigned char* p_bytes, int count)
int lcd_remote_default_contrast(void)
{
- return 32;
+ return LCD_REMOTE_DEFAULT_CONTRAST;
}
#ifndef SIMULATOR