summaryrefslogtreecommitdiff
path: root/keyboard/hhkb/rn42/rn42_task.c
diff options
context:
space:
mode:
authorIBNobody <ibnobody@gmail.com>2016-05-02 23:15:56 -0500
committerIBNobody <ibnobody@gmail.com>2016-05-02 23:15:56 -0500
commit35d7081899df3a486b9b5785c7e8ec9481195848 (patch)
tree682a322ce2c3e2004abb4fbd00fc00316277b935 /keyboard/hhkb/rn42/rn42_task.c
parent499e3096e9021b88a6a705ad7034ccbacb97b975 (diff)
parent2c070163ffffffde546fb00acaa2fbb96b93da64 (diff)
Merge remote-tracking branch 'refs/remotes/jackhumbert/master'
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");