summaryrefslogtreecommitdiff
path: root/usb-i2c-sl018
diff options
context:
space:
mode:
Diffstat (limited to 'usb-i2c-sl018')
-rw-r--r--usb-i2c-sl018/ajar.c2
-rw-r--r--usb-i2c-sl018/ajar.h2
-rw-r--r--usb-i2c-sl018/tuer-rfid.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/usb-i2c-sl018/ajar.c b/usb-i2c-sl018/ajar.c
index 78712c2..dc7dc01 100644
--- a/usb-i2c-sl018/ajar.c
+++ b/usb-i2c-sl018/ajar.c
@@ -32,7 +32,7 @@
#define AJAR_LP_MAX 255
-void init_ajar(void)
+void ajar_init(void)
{
AJAR_DDR = AJAR_DDR & ~(1<<AJAR_BIT);
AJAR_PORT |= (1<<AJAR_BIT);
diff --git a/usb-i2c-sl018/ajar.h b/usb-i2c-sl018/ajar.h
index 44f0f82..d05e2e6 100644
--- a/usb-i2c-sl018/ajar.h
+++ b/usb-i2c-sl018/ajar.h
@@ -26,7 +26,7 @@
typedef enum { ajar, shut } ajar_t;
-void init_ajar(void);
+void ajar_init(void);
ajar_t ajar_get(void);
const char* ajar_to_string(ajar_t a);
void ajar_task(void);
diff --git a/usb-i2c-sl018/tuer-rfid.c b/usb-i2c-sl018/tuer-rfid.c
index ff29b82..dcb1224 100644
--- a/usb-i2c-sl018/tuer-rfid.c
+++ b/usb-i2c-sl018/tuer-rfid.c
@@ -129,7 +129,7 @@ int main(void)
eventqueue_init();
limits_init();
manual_init();
- init_ajar();
+ ajar_init();
sei();
sl018_reset();