clean up lpc13

This commit is contained in:
hathach
2018-12-03 19:02:35 +07:00
parent f8ea10dc9a
commit cea9abd4d0
6 changed files with 28 additions and 52 deletions

View File

@@ -216,7 +216,7 @@ void led_blinky_cb(TimerHandle_t xTimer)
(void) xTimer;
static bool led_state = false;
board_led_control(BOARD_LED0, led_state);
board_led_control(led_state);
led_state = 1 - led_state; // toggle
}