summaryrefslogtreecommitdiffstats
path: root/keyboard/preonic/keymaps/default
diff options
context:
space:
mode:
authorEric Tang <e_l_tang@outlook.com>2016-04-21 19:35:18 -0700
committerEric Tang <e_l_tang@outlook.com>2016-04-21 20:07:03 -0700
commit620ac4b260fa663d12b11a0b15ac50379523c125 (patch)
tree97c07e85ab7acb939ff395e4ba12d950d805a8f6 /keyboard/preonic/keymaps/default
parent9828aba2a12f03fccbc1095bc8e4918ae58fa31b (diff)
Update functions used to write to EEPROM
Diffstat (limited to 'keyboard/preonic/keymaps/default')
-rw-r--r--keyboard/preonic/keymaps/default/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboard/preonic/keymaps/default/keymap.c b/keyboard/preonic/keymaps/default/keymap.c
index f0d5ed6030..3a6dfa31a7 100644
--- a/keyboard/preonic/keymaps/default/keymap.c
+++ b/keyboard/preonic/keymaps/default/keymap.c
@@ -200,7 +200,7 @@ float goodbye[][2] = SONG(GOODBYE_SOUND);
#endif
void persistant_default_layer_set(uint16_t default_layer) {
- eeconfig_write_default_layer(default_layer);
+ eeconfig_update_default_layer(default_layer);
default_layer_set(default_layer);
}