summaryrefslogtreecommitdiffstats
path: root/keyboard/hhkb/rn42/rn42_task.c
diff options
context:
space:
mode:
authorRoman Zolotarev <hi@romanzolotarev.com>2016-04-26 16:23:10 +0800
committerRoman Zolotarev <hi@romanzolotarev.com>2016-04-26 16:23:10 +0800
commit28f0b64e31b8c30a842dfd356421356cf0513177 (patch)
treee5a76f4a2fb747c3599de1e297f46e4dc6fd4f0e /keyboard/hhkb/rn42/rn42_task.c
parentfa2eedb7bd906634b8c500ba0d91638e63eaafed (diff)
parentbf56838fe99aafd37559d560e47b707a83c87588 (diff)
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'keyboard/hhkb/rn42/rn42_task.c')
-rw-r--r--keyboard/hhkb/rn42/rn42_task.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboard/hhkb/rn42/rn42_task.c b/keyboard/hhkb/rn42/rn42_task.c
index 5107fef483..84001b3f1a 100644
--- a/keyboard/hhkb/rn42/rn42_task.c
+++ b/keyboard/hhkb/rn42/rn42_task.c
@@ -219,7 +219,7 @@ static void store_link(uint8_t *eeaddr)
xprintf("%s(%d)\r\n", s, strlen(s));
if (strlen(s) == 12) {
for (int i = 0; i < 12; i++) {
- eeprom_write_byte(eeaddr+i, *(s+i));
+ eeprom_update_byte(eeaddr+i, *(s+i));
dprintf("%c ", *(s+i));
}
dprint("\r\n");