summaryrefslogtreecommitdiffstats
path: root/keyboard/planck/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/planck/keymaps/default
parent9828aba2a12f03fccbc1095bc8e4918ae58fa31b (diff)
Update functions used to write to EEPROM
Diffstat (limited to 'keyboard/planck/keymaps/default')
-rw-r--r--keyboard/planck/keymaps/default/keymap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboard/planck/keymaps/default/keymap.c b/keyboard/planck/keymaps/default/keymap.c
index 3239dda71d..19d24f6a0f 100644
--- a/keyboard/planck/keymaps/default/keymap.c
+++ b/keyboard/planck/keymaps/default/keymap.c
@@ -211,7 +211,7 @@ float goodbye[][2] = SONG(GOODBYE_SOUND);
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);
}
@@ -315,7 +315,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
}
keymap_config.raw = eeconfig_read_keymap();
keymap_config.nkro = 1;
- eeconfig_write_keymap(keymap_config.raw);
+ eeconfig_update_keymap(keymap_config.raw);
}
break;
case 11: