From 1ca90339a38931c4b38e29a6ea566fa76fc17857 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Fri, 8 May 2015 22:24:02 +0200 Subject: [PATCH] fix compile warning --- platforms/posix-stlc2500d/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platforms/posix-stlc2500d/main.c b/platforms/posix-stlc2500d/main.c index 9775d4953..fdc5b6168 100644 --- a/platforms/posix-stlc2500d/main.c +++ b/platforms/posix-stlc2500d/main.c @@ -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);