mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 16:48:29 -04:00
AP_HAL_ChibiOS: do not init usb in sdcard_init
This commit is contained in:
parent
5d5fdbb44d
commit
a05d7ae645
@ -136,11 +136,6 @@ bool sdcard_init()
|
||||
&USBD2,
|
||||
#endif
|
||||
(BaseBlockDevice*)&SDCD1, blkbuf, txbuf, NULL, NULL, block_filesys_access, free_filesys_access);
|
||||
usbDisconnectBus(serusbcfg1.usbp);
|
||||
usbStop(serusbcfg1.usbp);
|
||||
chThdSleep(chTimeUS2I(1500));
|
||||
usbStart(serusbcfg1.usbp, &usbcfg);
|
||||
usbConnectBus(serusbcfg1.usbp);
|
||||
}
|
||||
#endif
|
||||
sdcard_running = true;
|
||||
|
Loading…
Reference in New Issue
Block a user