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

@@ -201,7 +201,7 @@ void led_blinking_task(void)
if ( !tu_timeout_expired(&tm) ) return; // not enough time
tu_timeout_reset(&tm);
board_led_control(BOARD_LED0, led_state);
board_led_control(led_state);
led_state = 1 - led_state; // toggle
}