mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-22 19:39:27 +00:00
Switch to noeeprom variants of rgb fns (#3077)
- avoid writing to the eeprom when possible
This commit is contained in:
parent
8a9c19ee93
commit
4bd64227fd
@ -26,8 +26,8 @@ void matrix_init_user(void) {
|
||||
void matrix_scan_user(void) {
|
||||
if (runonce && timer_elapsed(my_timer) > 1000) {
|
||||
runonce = false;
|
||||
rgblight_sethsv(0x0, 0xff, 0x80);
|
||||
rgblight_mode(9);
|
||||
rgblight_enable();
|
||||
rgblight_sethsv_noeeprom(0x0, 0xff, 0x80);
|
||||
rgblight_mode_noeeprom(9);
|
||||
rgblight_enable_noeeprom();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user