mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
HAL_ChibiOS: fixed iomcu build with flash driver
This commit is contained in:
parent
25aaefa0e6
commit
51223409be
@ -84,7 +84,12 @@ static Empty::RCOutput rcoutDriver;
|
||||
static ChibiOS::Scheduler schedulerInstance;
|
||||
static ChibiOS::Util utilInstance;
|
||||
static Empty::OpticalFlow opticalFlowDriver;
|
||||
|
||||
#ifndef HAL_NO_FLASH_SUPPORT
|
||||
static ChibiOS::Flash flashDriver;
|
||||
#else
|
||||
static Empty::Flash flashDriver;
|
||||
#endif
|
||||
|
||||
|
||||
#if HAL_WITH_IO_MCU
|
||||
|
Loading…
Reference in New Issue
Block a user