summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/settings.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/settings.c b/apps/settings.c
index bc5a5bc7b4..d6e555f03e 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -552,11 +552,15 @@ void settings_apply(void)
552 552
553static int default_contrast(void) 553static int default_contrast(void)
554{ 554{
555#ifdef SIMULATOR
556 return 30;
557#else
555#ifdef HAVE_LCD_CHARCELLS 558#ifdef HAVE_LCD_CHARCELLS
556 return 30; 559 return 30;
557#else 560#else
558 return (read_hw_mask() & LCD_CONTRAST_BIAS) ? 31 : 49; 561 return (read_hw_mask() & LCD_CONTRAST_BIAS) ? 31 : 49;
559#endif 562#endif
563#endif
560} 564}
561 565
562/* 566/*