fix compile warning

This commit is contained in:
Matthias Ringwald 2015-05-08 22:24:02 +02:00
parent b4678bb372
commit 1ca90339a3

View File

@ -80,7 +80,7 @@ static void sigint_handler(int param){
exit(0);
}
static led_state = 0;
static int led_state = 0;
void hal_led_toggle(){
led_state = 1 - led_state;
printf("LED State %u\n", led_state);