Add function to allow repeated blinking of one layer (#12237)
* Implement function rgblight_blink_layer_repeat to allow repeated blinking of one layer at a time * Update doc * Rework rgblight blinking according to requested change * optimize storage
This commit is contained in:
parent
c14fa1e28f
commit
6c7450dad7
3 changed files with 44 additions and 13 deletions
|
@ -222,6 +222,7 @@ extern const rgblight_segment_t *const *rgblight_layers;
|
|||
# ifdef RGBLIGHT_LAYER_BLINK
|
||||
# define RGBLIGHT_USE_TIMER
|
||||
void rgblight_blink_layer(uint8_t layer, uint16_t duration_ms);
|
||||
void rgblight_blink_layer_repeat(uint8_t layer, uint16_t duration_ms, uint8_t times);
|
||||
# endif
|
||||
|
||||
# endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue