mirror of https://github.com/ArduPilot/ardupilot
HAL_ChibiOS_Class: adjust for dsp disappearing from HAL constructor
This commit is contained in:
parent
9e5edefc4a
commit
d5ddbad27f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue