summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Diamond <josh@windowoffire.com>2020-06-01 20:12:08 -0400
committerDrashna Jael're <drashna@live.com>2020-08-08 20:53:38 -0700
commit3390de355176417c27a678caeb87d28de3889577 (patch)
tree3e9fabf0aaf1fecb72e3e729a1ca4bbf26ad6a3f
parent98e93c95ec1ce0a3f5af06cd725266b90cded34b (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 8656549fd4..a1dca66d4f 100644
--- a/quantum/rgblight.c
+++ b/quantum/rgblight.c
@@ -674,9 +674,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);