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