Adding hooks into the idle loop so HALs can execute 2nd plane tasks, such as serving SD card read/writes requested from the USB MSD layer

This commit is contained in:
etagle 2017-12-21 02:22:08 -03:00
parent 2ec4113cb2
commit b6f9c333d4

View file

@ -548,6 +548,10 @@ void idle(
lastUpdateMillis = millis(); lastUpdateMillis = millis();
} }
#endif #endif
#ifdef HAL_IDLETASK
HAL_idletask();
#endif
} }
/** /**