diff options
Diffstat (limited to 'quantum/rgblight.h')
-rw-r--r-- | quantum/rgblight.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/quantum/rgblight.h b/quantum/rgblight.h index b1585b158..e06073728 100644 --- a/quantum/rgblight.h +++ b/quantum/rgblight.h | |||
@@ -192,6 +192,12 @@ bool rgblight_get_layer_state(uint8_t layer); | |||
192 | 192 | ||
193 | // Point this to an array of rgblight_segment_t arrays in keyboard_post_init_user to use rgblight layers | 193 | // Point this to an array of rgblight_segment_t arrays in keyboard_post_init_user to use rgblight layers |
194 | extern const rgblight_segment_t *const *rgblight_layers; | 194 | extern const rgblight_segment_t *const *rgblight_layers; |
195 | |||
196 | # ifdef RGBLIGHT_LAYER_BLINK | ||
197 | # define RGBLIGHT_USE_TIMER | ||
198 | void rgblight_blink_layer(uint8_t layer, uint16_t duration_ms); | ||
199 | # endif | ||
200 | |||
195 | # endif | 201 | # endif |
196 | 202 | ||
197 | extern LED_TYPE led[RGBLED_NUM]; | 203 | extern LED_TYPE led[RGBLED_NUM]; |