This website works better with JavaScript.
Home
Explore
Help
Sign In
mh
/
qmk_firmware
mirror of
https://github.com/qmk/qmk_firmware/
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
1.6k
Wiki
Activity
Browse Source
Move RGBLIGHT_LIMIT_VAL definition from rgblight.c to rgblight.h (
#5167
)
pull/5168/head
0.6.291
Konstantin Đorđević
5 years ago
committed by
MechMerlin
parent
657d055934
commit
4e2369693f
2 changed files
with
3 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-4
quantum/rgblight.c
+3
-0
quantum/rgblight.h
+ 0
- 4
quantum/rgblight.c
View File
@ -31,10 +31,6 @@
#
include
"debug.h"
#
include
"led_tables.h"
#
ifndef RGBLIGHT_LIMIT_VAL
#
define RGBLIGHT_LIMIT_VAL 255
#
endif
#
define _RGBM_SINGLE_STATIC(sym) RGBLIGHT_MODE_ ## sym,
#
define _RGBM_SINGLE_DYNAMIC(sym)
#
define _RGBM_MULTI_STATIC(sym) RGBLIGHT_MODE_ ## sym,
+ 3
- 0
quantum/rgblight.h
View File
@ -121,6 +121,9 @@ enum RGBLIGHT_EFFECT_MODE {
#
ifndef RGBLIGHT_VAL_STEP
#
define RGBLIGHT_VAL_STEP 17
#
endif
#
ifndef RGBLIGHT_LIMIT_VAL
#
define RGBLIGHT_LIMIT_VAL 255
#
endif
#
define RGBLED_TIMER_TOP F_CPU
/
(256*64)
/
/
#
define
RGBLED_TIMER_TOP
0xFF10
Write
Preview
Loading…
Cancel
Save