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<