update examples

This commit is contained in:
hathach
2018-03-11 13:20:43 +07:00
parent d0a810317f
commit bf9fc1b318
4 changed files with 17 additions and 43 deletions

View File

@@ -118,7 +118,7 @@ void led_blinking_task(void)
static uint32_t last_blink = 0;
// not enough time
if ( last_blink + BLINK_INTEVAL > hal_tick_get() ) return;
if ( last_blink + BLINK_INTEVAL > tusb_hal_tick_get() ) return;
last_blink += BLINK_INTEVAL;