HAL_ChibiOS: fixed F412 build

This commit is contained in:
Andrew Tridgell 2018-07-10 11:01:09 +10:00
parent f8e9e57523
commit 3292abaa19

View File

@ -149,7 +149,7 @@ bool GPIO::_attach_interrupt(ioline_t line, AP_HAL::Proc p, uint8_t mode)
#ifdef GPIOH
{ GPIOH, EXT_MODE_GPIOH },
#endif
#ifdef GPIOI
#if defined(GPIOI) && defined(GPIOI_BASE)
{ GPIOI, EXT_MODE_GPIOI },
#endif
};