diff options
| author | Joshua Diamond <josh@windowoffire.com> | 2020-06-01 20:12:08 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-01 17:12:08 -0700 |
| commit | 563d5919b32c99b10e63754c4e5dab0c69a7c5e1 (patch) | |
| tree | d42668cd1f0756ff81213554062bd72c1fddf516 | |
| parent | 0fee906e0938efc0eb9c6ccc3d2411fe932082c9 (diff) | |
| download | qmk_firmware-563d5919b32c99b10e63754c4e5dab0c69a7c5e1.tar.gz qmk_firmware-563d5919b32c99b10e63754c4e5dab0c69a7c5e1.zip | |
Fix layer mask size for RGBLIGHT_LAYER_BLINK (#9260)
| -rw-r--r-- | quantum/rgblight.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/quantum/rgblight.c b/quantum/rgblight.c index 949dd79fe..d33484ccf 100644 --- a/quantum/rgblight.c +++ b/quantum/rgblight.c | |||
| @@ -672,9 +672,9 @@ static void rgblight_layers_write(void) { | |||
| 672 | } | 672 | } |
| 673 | 673 | ||
| 674 | # ifdef RGBLIGHT_LAYER_BLINK | 674 | # ifdef RGBLIGHT_LAYER_BLINK |
| 675 | uint8_t _blinked_layer_mask = 0; | 675 | rgblight_layer_mask_t _blinked_layer_mask = 0; |
| 676 | uint16_t _blink_duration = 0; | 676 | uint16_t _blink_duration = 0; |
| 677 | static uint16_t _blink_timer; | 677 | static uint16_t _blink_timer; |
| 678 | 678 | ||
| 679 | void rgblight_blink_layer(uint8_t layer, uint16_t duration_ms) { | 679 | void rgblight_blink_layer(uint8_t layer, uint16_t duration_ms) { |
| 680 | rgblight_set_layer_state(layer, true); | 680 | rgblight_set_layer_state(layer, true); |
