feat: allow configuration of auto dimming for OLED screen (#4793)
This commit is contained in:
@@ -35,7 +35,13 @@
|
||||
#define CASE_IMU(x)
|
||||
#endif
|
||||
|
||||
#if defined(BACKLIGHT_GPIO)
|
||||
#if defined(OLED_SCREEN)
|
||||
#define CASE_CONTRAST(x)
|
||||
#else
|
||||
#define CASE_CONTRAST(x) x,
|
||||
#endif
|
||||
|
||||
#if defined(BACKLIGHT_GPIO) || defined(OLED_SCREEN)
|
||||
#define CASE_BACKLIGHT(x) x,
|
||||
#else
|
||||
#define CASE_BACKLIGHT(x)
|
||||
|
||||
Reference in New Issue
Block a user