summaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorYan-Fa Li <yanfali@gmail.com>2018-05-29 15:58:10 -0700
committerDrashna Jaelre <drashna@live.com>2018-05-29 15:58:10 -0700
commit4bd64227fdb2715082bc49e4e0bf4fe53b50f7aa (patch)
treec0d1796e197afb4a981da20f9ca70c21c291ba57 /keyboards
parent8a9c19ee93d38ab7c5cf145472e4e3fc16901fc3 (diff)
downloadqmk_firmware-4bd64227fdb2715082bc49e4e0bf4fe53b50f7aa.tar.gz
qmk_firmware-4bd64227fdb2715082bc49e4e0bf4fe53b50f7aa.zip
Switch to noeeprom variants of rgb fns (#3077)
- avoid writing to the eeprom when possible
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/bigswitch/bigswitch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/bigswitch/bigswitch.c b/keyboards/bigswitch/bigswitch.c
index 3cc11e6026..dfd9710e27 100644
--- a/keyboards/bigswitch/bigswitch.c
+++ b/keyboards/bigswitch/bigswitch.c
@@ -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();
}
}