HAL_Linux: added empty flash driver

This commit is contained in:
Andrew Tridgell 2019-03-26 11:14:17 +11:00 committed by Randy Mackay
parent c9eb9d8076
commit 33eecbb696

View File

@ -210,6 +210,8 @@ static OpticalFlow_Onboard opticalFlow;
static Empty::OpticalFlow opticalFlow; static Empty::OpticalFlow opticalFlow;
#endif #endif
static Empty::Flash flashDriver;
HAL_Linux::HAL_Linux() : HAL_Linux::HAL_Linux() :
AP_HAL::HAL( AP_HAL::HAL(
&uartADriver, &uartADriver,
@ -230,6 +232,7 @@ HAL_Linux::HAL_Linux() :
&schedulerInstance, &schedulerInstance,
&utilInstance, &utilInstance,
&opticalFlow, &opticalFlow,
&flashDriver,
nullptr) nullptr)
{} {}