Skip to content

Commit

Permalink
backlight config
Browse files Browse the repository at this point in the history
  • Loading branch information
plodah committed Dec 1, 2024
1 parent 0d639ec commit 70e0a78
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions users/plodah/configs/backlight-common.h
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 70e0a78

Please sign in to comment.