summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usb-i2c-sl018/keystore.c4
-rw-r--r--usb-i2c-sl018/keystore.h4
-rw-r--r--usb-i2c-sl018/tuer-rfid.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/usb-i2c-sl018/keystore.c b/usb-i2c-sl018/keystore.c
index c37dfb3..645f25a 100644
--- a/usb-i2c-sl018/keystore.c
+++ b/usb-i2c-sl018/keystore.c
@@ -34,7 +34,7 @@ typedef uint8_t keyslot_t[8];
keyslot_t EEMEM keystore[EEPROM_SIZE/sizeof(keyslot_t)];
-void flash_keystore_from_stdio(void)
+void keystore_flash_from_stdio(void)
{
keyslot_t ks;
uint8_t byte_pos=0;
@@ -62,7 +62,7 @@ void flash_keystore_from_stdio(void)
led_off();
}
-void dump_keystore_to_stdio(void)
+void keystore_dump_to_stdio(void)
{
keyslot_t ks;
for(uint8_t ks_pos=0;ks_pos<EEPROM_SIZE/sizeof(ks);ks_pos++) {
diff --git a/usb-i2c-sl018/keystore.h b/usb-i2c-sl018/keystore.h
index b2adfd6..243ab5c 100644
--- a/usb-i2c-sl018/keystore.h
+++ b/usb-i2c-sl018/keystore.h
@@ -26,8 +26,8 @@
#include <stdint.h>
-void flash_keystore_from_stdio(void);
-void dump_keystore_to_stdio(void);
+void keystore_flash_from_stdio(void);
+void keystore_dump_to_stdio(void);
uint8_t keystore_check_card(const uint8_t * uid, uint8_t uid_len);
#endif
diff --git a/usb-i2c-sl018/tuer-rfid.c b/usb-i2c-sl018/tuer-rfid.c
index dcb1224..f3cf21b 100644
--- a/usb-i2c-sl018/tuer-rfid.c
+++ b/usb-i2c-sl018/tuer-rfid.c
@@ -63,10 +63,10 @@ void handle_cmd(uint8_t cmd)
break;
}
case 'e': //flash eeprom
- flash_keystore_from_stdio();
+ keystore_flash_from_stdio();
break;
case 'd': //dump eeprom - this breaks security!
- dump_keystore_to_stdio();
+ keystore_dump_to_stdio();
break;
case 'o':
eventqueue_push(cmd_open);