summaryrefslogtreecommitdiff
path: root/keyboard/hhkb/rn42/rn42_task.c
diff options
context:
space:
mode:
authorChristopher Browne <cbbrowne@ca.afilias.info>2016-04-27 12:34:54 -0400
committerChristopher Browne <cbbrowne@ca.afilias.info>2016-04-27 12:34:54 -0400
commitf59c4b03facd80cab913c6612a899392dd42ebb8 (patch)
treea6f0bcb584fcc6e6cc31261bafdc4f43b2fa7dfc /keyboard/hhkb/rn42/rn42_task.c
parent6ec6b613536b7138ee0c87002b10da8fe0c0117d (diff)
parentce75a7675e10e24e7ecd7bc3575c0e0fc1bc34b5 (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");