From 70e0a78e970aceaa01a663437d012608d5ae2a68 Mon Sep 17 00:00:00 2001 From: plodah Date: Sun, 1 Dec 2024 03:47:18 +0000 Subject: [PATCH] backlight config --- users/plodah/configs/backlight-common.h | 32 +++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 users/plodah/configs/backlight-common.h diff --git a/users/plodah/configs/backlight-common.h b/users/plodah/configs/backlight-common.h new file mode 100644 index 00000000000..56cee8bd8be --- /dev/null +++ b/users/plodah/configs/backlight-common.h @@ -0,0 +1,32 @@ +#ifdef BACKLIGHT_ENABLE + #ifdef BACKLIGHT_LEVELS + #undef BACKLIGHT_LEVELS + #endif // BACKLIGHT_LEVELS + #define BACKLIGHT_LEVELS 7 + + #ifdef BACKLIGHT_BREATHING + #undef BACKLIGHT_LEVELS + #endif // BACKLIGHT_BREATHING + #define BACKLIGHT_BREATHING true + + #ifdef BREATHING_PERIOD3 + #undef BREATHING_PERIOD + #endif // BREATHING_PERIOD + #define BREATHING_PERIOD 5 + + #ifdef BACKLIGHT_DEFAULT_ON + #undef BACKLIGHT_DEFAULT_ON + #endif // BACKLIGHT_DEFAULT_ON + #define BACKLIGHT_DEFAULT_ON true + + #ifdef BACKLIGHT_DEFAULT_BREATHING + #undef BACKLIGHT_DEFAULT_BREATHING + #endif // BACKLIGHT_DEFAULT_BREATHING + #define BACKLIGHT_DEFAULT_BREATHING false + + #ifdef BACKLIGHT_DEFAULT_LEVEL + #undef BACKLIGHT_DEFAULT_LEVEL + #endif // BACKLIGHT_DEFAULT_LEVEL + #define BACKLIGHT_DEFAULT_LEVEL 2 + +#endif // BACKLIGHT_ENABLE