Use MCU_SERIES

This commit is contained in:
iabdalkader 2017-12-24 22:11:57 +02:00
parent 04ce644f55
commit f8ba3e4e10

View File

@ -36,7 +36,7 @@ void SystemClock_Config(void);
void HAL_MspInit(void)
{
#if defined(STM32F765xx) || defined(STM32F769xx)
#if defined(MCU_SERIES_F7) || defined(MCU_SERIES_H7)
// Invalidate each cache before enabling it
SCB_InvalidateICache();
SCB_InvalidateDCache();