mirror of https://github.com/ArduPilot/ardupilot
HAL_ChibiOS: fixed build of sdcard
This commit is contained in:
parent
a03b569d43
commit
9ed3e9eec5
|
@ -164,9 +164,11 @@ void sdcard_stop(void)
|
||||||
|
|
||||||
void sdcard_retry(void)
|
void sdcard_retry(void)
|
||||||
{
|
{
|
||||||
|
#ifdef USE_POSIX
|
||||||
if (!sdcard_running) {
|
if (!sdcard_running) {
|
||||||
sdcard_init();
|
sdcard_init();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#if HAL_USE_MMC_SPI
|
#if HAL_USE_MMC_SPI
|
||||||
|
|
Loading…
Reference in New Issue