mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-23 00:47:02 +06:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
ae4d518352
|
@ -813,6 +813,10 @@ 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) {
|
||||
if (times > UINT8_MAX / 2) {
|
||||
times = UINT8_MAX / 2;
|
||||
}
|
||||
|
||||
_times_remaining = times * 2;
|
||||
_dur = duration_ms;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user