diff options
Diffstat (limited to 'firmware/export/config/sim.h')
-rw-r--r-- | firmware/export/config/sim.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/firmware/export/config/sim.h b/firmware/export/config/sim.h index ec398c8b2d..56c3e18229 100644 --- a/firmware/export/config/sim.h +++ b/firmware/export/config/sim.h | |||
@@ -79,3 +79,19 @@ | |||
79 | 79 | ||
80 | #undef HAVE_SPEAKER | 80 | #undef HAVE_SPEAKER |
81 | 81 | ||
82 | #if CONFIG_BACKLIGHT_FADING == BACKLIGHT_FADING_SW_HW_REG | ||
83 | #undef CONFIG_BACKLIGHT_FADING | ||
84 | /* simulate SW_SETTING, as we handle sdl very similary */ | ||
85 | #define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_SETTING | ||
86 | |||
87 | #elif (CONFIG_BACKLIGHT_FADING == BACKLIGHT_FADING_PWM || \ | ||
88 | CONFIG_BACKLIGHT_FADING == BACKLIGHT_FADING_TARGET) | ||
89 | /* we don't simulate that yet */ | ||
90 | #undef CONFIG_BACKLIGHT_FADING | ||
91 | #endif | ||
92 | |||
93 | #ifdef HAVE_BACKLIGHT_BRIGHTNESS | ||
94 | #undef DEFAULT_BRIGHTNESS_SETTING | ||
95 | /* default for 100% in the sim */ | ||
96 | #define DEFAULT_BRIGHTNESS_SETTING MAX_BRIGHTNESS_SETTING | ||
97 | #endif | ||