From 0bab67cc0295a1376777a7315ee53f29876f841d Mon Sep 17 00:00:00 2001 From: john stone Date: Tue, 25 Sep 2012 07:23:14 +0200 Subject: [PATCH] mhhh --- fw_test/main.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/fw_test/main.c b/fw_test/main.c index ad5ea7e..5ca2fda 100644 --- a/fw_test/main.c +++ b/fw_test/main.c @@ -29,7 +29,7 @@ static void inline led_off(int leds){ return; } -static void inline buzzr_off(){ +static void inline buzzr_off(void){ PORTC &= ~(1 << PORTC5); PORTB &= ~(1 << PORTB2); } @@ -49,14 +49,14 @@ static void buzzr_up(void){ return; } -static void buzzr_down(){ +static void buzzr_down(void){ PORTC |= (1 << PORTC5); PORTB &= ~(1 << PORTB2); } -static void buzzr_inv(){ +static void buzzr_inv(void){ PORTC ^= (1 << PORTC5); PORTB ^= (1 << PORTB2); } @@ -78,7 +78,7 @@ static void set_motor(int val){ static void init_switch(void){ - DDRD &= ~( (1 << PORTD1) | (1<