HAL_ChibiOS: fixed timer reset

This commit is contained in:
Andrew Tridgell 2018-12-30 17:38:53 +11:00
parent fa4f497dab
commit ed3194d095
1 changed files with 1 additions and 0 deletions

View File

@ -359,6 +359,7 @@ void Scheduler::_io_thread(void* arg)
// thread when disarmed
uint32_t now = AP_HAL::millis();
if (now - last_sd_start_ms > 3000) {
last_sd_start_ms = now;
sdcard_retry();
}
}