mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -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)
|
||||
static ChibiOS::QSPIDeviceManager qspiDeviceManager;
|
||||
#else
|
||||
static Empty::QSPIDeviceManager qspiDeviceManager;
|
||||
#endif
|
||||
|
||||
#if HAL_WITH_IO_MCU
|
||||
@ -135,7 +133,11 @@ HAL_ChibiOS::HAL_ChibiOS() :
|
||||
&uartIDriver,
|
||||
&i2cDeviceManager,
|
||||
&spiDeviceManager,
|
||||
#if HAL_USE_WSPI == TRUE && defined(HAL_QSPI_DEVICE_LIST)
|
||||
&qspiDeviceManager,
|
||||
#else
|
||||
nullptr,
|
||||
#endif
|
||||
&analogIn,
|
||||
&storageDriver,
|
||||
&uartADriver,
|
||||
|
Loading…
Reference in New Issue
Block a user