HAL_Linux: added empty flash driver

This commit is contained in:
Andrew Tridgell 2019-03-26 11:14:17 +11:00
parent 92e509a418
commit 6bae0960df
1 changed files with 3 additions and 0 deletions

View File

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