summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Diamond <josh@windowoffire.com>2020-06-01 20:12:08 -0400
committerGitHub <noreply@github.com>2020-06-01 17:12:08 -0700
commit563d5919b32c99b10e63754c4e5dab0c69a7c5e1 (patch)
treed42668cd1f0756ff81213554062bd72c1fddf516
parent0fee906e0938efc0eb9c6ccc3d2411fe932082c9 (diff)
Fix layer mask size for RGBLIGHT_LAYER_BLINK (#9260)
-rw-r--r--quantum/rgblight.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/quantum/rgblight.c b/quantum/rgblight.c
index 949dd79fe7..d33484ccfd 100644
--- a/quantum/rgblight.c
+++ b/quantum/rgblight.c
@@ -672,9 +672,9 @@ static void rgblight_layers_write(void) {
}
# ifdef RGBLIGHT_LAYER_BLINK
-uint8_t _blinked_layer_mask = 0;
-uint16_t _blink_duration = 0;
-static uint16_t _blink_timer;
+rgblight_layer_mask_t _blinked_layer_mask = 0;
+uint16_t _blink_duration = 0;
+static uint16_t _blink_timer;
void rgblight_blink_layer(uint8_t layer, uint16_t duration_ms) {
rgblight_set_layer_state(layer, true);