diff options
-rw-r--r-- | usb-i2c-sl018/limits.c | 2 | ||||
-rw-r--r-- | usb-i2c-sl018/limits.h | 2 | ||||
-rw-r--r-- | usb-i2c-sl018/tuer-rfid.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/usb-i2c-sl018/limits.c b/usb-i2c-sl018/limits.c index b96cf94..027a3b5 100644 --- a/usb-i2c-sl018/limits.c +++ b/usb-i2c-sl018/limits.c @@ -32,7 +32,7 @@ #define LIMITS_LP_MAX 255 -void init_limits(void) +void limits_init(void) { LIMITS_DDR = LIMITS_DDR & ~(1<<LIMITS_OPEN | 1<<LIMITS_CLOSE); LIMITS_PORT |= (1<<LIMITS_OPEN | 1<<LIMITS_CLOSE); diff --git a/usb-i2c-sl018/limits.h b/usb-i2c-sl018/limits.h index 95bb084..f1363ab 100644 --- a/usb-i2c-sl018/limits.h +++ b/usb-i2c-sl018/limits.h @@ -26,7 +26,7 @@ typedef enum { moving, open, close, both } limits_t; -void init_limits(void); +void limits_init(void); limits_t limits_get(void); const char* limits_to_string(limits_t limits); diff --git a/usb-i2c-sl018/tuer-rfid.c b/usb-i2c-sl018/tuer-rfid.c index 31288b9..c48772b 100644 --- a/usb-i2c-sl018/tuer-rfid.c +++ b/usb-i2c-sl018/tuer-rfid.c @@ -127,7 +127,7 @@ int main(void) stepper_init(); ledmatrix_init(); eventqueue_init(); - init_limits(); + limits_init(); init_manual(); init_ajar(); sei(); |