fixed the incosnsitent led pattern by using systick to call led_tick()

This commit is contained in:
hathach
2018-12-19 17:08:23 +07:00
parent 90cf2e53cb
commit 64f2f671f6
3 changed files with 40 additions and 15 deletions

View File

@ -136,8 +136,6 @@ static void wait_for_events(void)
}
#endif
led_tick();
if ((m_update_status == BOOTLOADER_COMPLETE) ||
(m_update_status == BOOTLOADER_TIMEOUT) ||
(m_update_status == BOOTLOADER_RESET) )