HAL_ChibiOS: fixed iomcu build with flash driver

This commit is contained in:
Andrew Tridgell 2019-04-08 14:22:26 +10:00
parent ac1136d633
commit c77e4e6ec1

View File

@ -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