diff options
| author | Konstantin Đorđević <vomindoraan@gmail.com> | 2019-02-18 04:05:12 +0100 |
|---|---|---|
| committer | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2019-02-17 19:05:12 -0800 |
| commit | 4e2369693f7f2ef654db35d158af5cddb98d9703 (patch) | |
| tree | 4b2fbf7c2eeb1ca0d5a0f0e1800fd2d21c131d87 /quantum/rgblight.h | |
| parent | 657d05593491f7d4d1346f0f06f9972fdbde9095 (diff) | |
| download | qmk_firmware-4e2369693f7f2ef654db35d158af5cddb98d9703.tar.gz qmk_firmware-4e2369693f7f2ef654db35d158af5cddb98d9703.zip | |
Move RGBLIGHT_LIMIT_VAL definition from rgblight.c to rgblight.h (#5167)
Diffstat (limited to 'quantum/rgblight.h')
| -rw-r--r-- | quantum/rgblight.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/quantum/rgblight.h b/quantum/rgblight.h index aa608d424..f92388c96 100644 --- a/quantum/rgblight.h +++ b/quantum/rgblight.h | |||
| @@ -121,6 +121,9 @@ enum RGBLIGHT_EFFECT_MODE { | |||
| 121 | #ifndef RGBLIGHT_VAL_STEP | 121 | #ifndef RGBLIGHT_VAL_STEP |
| 122 | #define RGBLIGHT_VAL_STEP 17 | 122 | #define RGBLIGHT_VAL_STEP 17 |
| 123 | #endif | 123 | #endif |
| 124 | #ifndef RGBLIGHT_LIMIT_VAL | ||
| 125 | #define RGBLIGHT_LIMIT_VAL 255 | ||
| 126 | #endif | ||
| 124 | 127 | ||
| 125 | #define RGBLED_TIMER_TOP F_CPU/(256*64) | 128 | #define RGBLED_TIMER_TOP F_CPU/(256*64) |
| 126 | // #define RGBLED_TIMER_TOP 0xFF10 | 129 | // #define RGBLED_TIMER_TOP 0xFF10 |
