From dcf1025ab0eaf0c60dae9d0b4a2056635ff542f5 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 7 Feb 2013 05:17:41 +0000 Subject: naming convention for heartbeat git-svn-id: https://svn.spreadspace.org/avr/trunk@178 aa12f405-d877-488e-9caf-2d797e2a1cc7 --- usb-i2c-sl018/heartbeat.c | 2 +- usb-i2c-sl018/heartbeat.h | 2 +- usb-i2c-sl018/tuer-rfid.c | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) (limited to 'usb-i2c-sl018') diff --git a/usb-i2c-sl018/heartbeat.c b/usb-i2c-sl018/heartbeat.c index 47caffc..7700706 100644 --- a/usb-i2c-sl018/heartbeat.c +++ b/usb-i2c-sl018/heartbeat.c @@ -48,7 +48,7 @@ ISR(TIMER0_COMPA_vect) } } -void init_heartbeat(void) +void heartbeat_init(void) { led_off(); heartbeat_cnt = 0; diff --git a/usb-i2c-sl018/heartbeat.h b/usb-i2c-sl018/heartbeat.h index 4fcf0ae..148f823 100644 --- a/usb-i2c-sl018/heartbeat.h +++ b/usb-i2c-sl018/heartbeat.h @@ -24,7 +24,7 @@ #ifndef R3TUER_heatbeat_h_INCLUDED #define R3TUER_heatbeat_h_INCLUDED -void init_heartbeat(void); +void heartbeat_init(void); void heartbeat_task(void); #endif diff --git a/usb-i2c-sl018/tuer-rfid.c b/usb-i2c-sl018/tuer-rfid.c index 856c76d..53c3435 100644 --- a/usb-i2c-sl018/tuer-rfid.c +++ b/usb-i2c-sl018/tuer-rfid.c @@ -122,7 +122,8 @@ int main(void) led_init(); anyio_init(115200, false); TWI_Init(TWI_BIT_PRESCALE_1, TWI_BITLENGTH_FROM_FREQ(1, 200000)); - init_heartbeat(); + + heartbeat_init(); init_stepper(); init_ledmatrix(); init_eventqueue(); -- cgit v1.2.3