mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_Linux: cope with HAL_WITH_DSP being false
This commit is contained in:
parent
75ebef32cf
commit
7e51811a24
|
@ -251,7 +251,9 @@ static OpticalFlow_Onboard opticalFlow;
|
|||
static Empty::OpticalFlow opticalFlow;
|
||||
#endif
|
||||
|
||||
#if HAL_WITH_DSP
|
||||
static Empty::DSP dspDriver;
|
||||
#endif
|
||||
static Empty::Flash flashDriver;
|
||||
static Empty::WSPIDeviceManager wspi_mgr_instance;
|
||||
|
||||
|
@ -284,7 +286,9 @@ HAL_Linux::HAL_Linux() :
|
|||
&utilInstance,
|
||||
&opticalFlow,
|
||||
&flashDriver,
|
||||
#if HAL_WITH_DSP
|
||||
&dspDriver,
|
||||
#endif
|
||||
#if HAL_NUM_CAN_IFACES
|
||||
(AP_HAL::CANIface**)canDrivers
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue