feat: allow configuration of auto dimming for OLED screen (#4793)

This commit is contained in:
3djc
2024-03-24 11:34:28 +10:00
committed by GitHub
parent 8adca4c041
commit ac8705f13b
2 changed files with 23 additions and 8 deletions
+7 -1
View File
@@ -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)