diff options
author | Christian Pointner <equinox@spreadspace.org> | 2013-01-30 02:16:09 +0000 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2013-01-30 02:16:09 +0000 |
commit | 73c7cada410244916314d44bfbf3be494a81fa4c (patch) | |
tree | beb0fed46b2a2469b0a274f1b6bf4b6b2d5de186 /usb-i2c-sl018/tuer-rfid.c | |
parent | uid_len checks (diff) |
slightly better error handling for update keys
git-svn-id: https://svn.spreadspace.org/avr/trunk@102 aa12f405-d877-488e-9caf-2d797e2a1cc7
Diffstat (limited to 'usb-i2c-sl018/tuer-rfid.c')
-rw-r--r-- | usb-i2c-sl018/tuer-rfid.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usb-i2c-sl018/tuer-rfid.c b/usb-i2c-sl018/tuer-rfid.c index 2406ec7..a50866e 100644 --- a/usb-i2c-sl018/tuer-rfid.c +++ b/usb-i2c-sl018/tuer-rfid.c @@ -259,13 +259,14 @@ void flash_keystore_from_stdio(void) byte_pos=0;
eeprom_update_block(&keyslot,&keystore[keyslot_pos],sizeof(keyslot));
keyslot_pos++;
- fprintf(stdio,".");
+ fputc('.', stdio);
fflush(stdio);
led_toggle();
}
}
}
fprintf(stdio,"\n");
+ fputc(0, stdio);
led_off();
}
|