AP_HAL_ChibiOS: initialise SDCard before starting USB

This commit is contained in:
bugobliterator 2023-02-06 11:55:04 +11:00 committed by Andrew Tridgell
parent ee45deeda8
commit 0c5d19ff44

View File

@ -322,6 +322,8 @@ void HAL_ChibiOS::run(int argc, char * const argv[], Callbacks* callbacks) const
* RTOS is active.
*/
sdcard_retry();
#if HAL_USE_SERIAL_USB == TRUE
usb_initialise();
#endif