diff options
| author | Jack Humbert <jack.humb@gmail.com> | 2016-11-18 22:22:29 -0500 |
|---|---|---|
| committer | Jack Humbert <jack.humb@gmail.com> | 2016-11-18 22:22:29 -0500 |
| commit | ab6557c1a04b7f6a1d262d07f9b42e7e28d8028a (patch) | |
| tree | d4747efac27d00a4f3d64a6fb970d8eb36882333 /quantum/rgblight.c | |
| parent | 161bd5596b5d8199f2e56246a27ccbdb8c80bb36 (diff) | |
| parent | 285c5a91f23e972d9c579184283443111186329d (diff) | |
| download | qmk_firmware-ab6557c1a04b7f6a1d262d07f9b42e7e28d8028a.tar.gz qmk_firmware-ab6557c1a04b7f6a1d262d07f9b42e7e28d8028a.zip | |
wqMerge branch 'wu5y7' of https://github.com/jackhumbert/qmk_firmware into wu5y7
Diffstat (limited to 'quantum/rgblight.c')
| -rw-r--r-- | quantum/rgblight.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/quantum/rgblight.c b/quantum/rgblight.c index 6b58f6654..00620da58 100644 --- a/quantum/rgblight.c +++ b/quantum/rgblight.c | |||
| @@ -253,6 +253,13 @@ void rgblight_toggle(void) { | |||
| 253 | } | 253 | } |
| 254 | } | 254 | } |
| 255 | 255 | ||
| 256 | void rgblight_enable(void) { | ||
| 257 | rgblight_config.enable = 1; | ||
| 258 | eeconfig_update_rgblight(rgblight_config.raw); | ||
| 259 | xprintf("rgblight enable: rgblight_config.enable = %u\n", rgblight_config.enable); | ||
| 260 | rgblight_mode(rgblight_config.mode); | ||
| 261 | } | ||
| 262 | |||
| 256 | 263 | ||
| 257 | void rgblight_increase_hue(void) { | 264 | void rgblight_increase_hue(void) { |
| 258 | uint16_t hue; | 265 | uint16_t hue; |
