mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_HAL_ChibiOS: do not even initialise empty qspi driver
This commit is contained in:
parent
2af3864b61
commit
28dbbc2bc4
@ -112,8 +112,6 @@ static ChibiOS::CANIface* canDrivers[HAL_NUM_CAN_IFACES];
|
|||||||
|
|
||||||
#if HAL_USE_WSPI == TRUE && defined(HAL_QSPI_DEVICE_LIST)
|
#if HAL_USE_WSPI == TRUE && defined(HAL_QSPI_DEVICE_LIST)
|
||||||
static ChibiOS::QSPIDeviceManager qspiDeviceManager;
|
static ChibiOS::QSPIDeviceManager qspiDeviceManager;
|
||||||
#else
|
|
||||||
static Empty::QSPIDeviceManager qspiDeviceManager;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HAL_WITH_IO_MCU
|
#if HAL_WITH_IO_MCU
|
||||||
@ -135,7 +133,11 @@ HAL_ChibiOS::HAL_ChibiOS() :
|
|||||||
&uartIDriver,
|
&uartIDriver,
|
||||||
&i2cDeviceManager,
|
&i2cDeviceManager,
|
||||||
&spiDeviceManager,
|
&spiDeviceManager,
|
||||||
|
#if HAL_USE_WSPI == TRUE && defined(HAL_QSPI_DEVICE_LIST)
|
||||||
&qspiDeviceManager,
|
&qspiDeviceManager,
|
||||||
|
#else
|
||||||
|
nullptr,
|
||||||
|
#endif
|
||||||
&analogIn,
|
&analogIn,
|
||||||
&storageDriver,
|
&storageDriver,
|
||||||
&uartADriver,
|
&uartADriver,
|
||||||
|
Loading…
Reference in New Issue
Block a user