HAL_ChibiOS_Class: adjust for dsp disappearing from HAL constructor

This commit is contained in:
Peter Barker 2023-10-01 08:17:34 +11:00 committed by Peter Barker
parent 9e5edefc4a
commit d5ddbad27f
1 changed files with 2 additions and 2 deletions

View File

@ -110,8 +110,6 @@ static AP_HAL::SIMState xsimstate;
#if HAL_WITH_DSP #if HAL_WITH_DSP
static ChibiOS::DSP dspDriver; static ChibiOS::DSP dspDriver;
#else
static Empty::DSP dspDriver;
#endif #endif
#ifndef HAL_NO_FLASH_SUPPORT #ifndef HAL_NO_FLASH_SUPPORT
@ -166,7 +164,9 @@ HAL_ChibiOS::HAL_ChibiOS() :
#if AP_SIM_ENABLED #if AP_SIM_ENABLED
&xsimstate, &xsimstate,
#endif #endif
#if HAL_WITH_DSP
&dspDriver, &dspDriver,
#endif
#if HAL_NUM_CAN_IFACES #if HAL_NUM_CAN_IFACES
(AP_HAL::CANIface**)canDrivers (AP_HAL::CANIface**)canDrivers
#else #else