1
0
Fork 0
forked from forks/qmk_firmware

Fix layer mask size for RGBLIGHT_LAYER_BLINK (#9260)

This commit is contained in:
Joshua Diamond 2020-06-01 20:12:08 -04:00 committed by GitHub
parent 0fee906e09
commit 563d5919b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);