diff --git a/libraries/AP_HAL_Linux/HAL_Linux_Class.cpp b/libraries/AP_HAL_Linux/HAL_Linux_Class.cpp index b85c4553f8..10c530a2bb 100644 --- a/libraries/AP_HAL_Linux/HAL_Linux_Class.cpp +++ b/libraries/AP_HAL_Linux/HAL_Linux_Class.cpp @@ -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) {}