HAL_ChibiOS: fixed iomcu build with flash driver

This commit is contained in:
Andrew Tridgell 2019-04-08 14:22:26 +10:00 committed by Randy Mackay
parent 25aaefa0e6
commit 51223409be

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