~ruther/qmk_firmware

4bd64227fdb2715082bc49e4e0bf4fe53b50f7aa — Yan-Fa Li 7 years ago 8a9c19e
Switch to noeeprom variants of rgb fns (#3077)

- avoid writing to the eeprom when possible
1 files changed, 3 insertions(+), 3 deletions(-)

M keyboards/bigswitch/bigswitch.c
M keyboards/bigswitch/bigswitch.c => keyboards/bigswitch/bigswitch.c +3 -3
@@ 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();
  }
}