From 1813726e148460ec62d1fd50736e5b9c906fb915 Mon Sep 17 00:00:00 2001 From: Filip Manole Date: Tue, 27 Oct 2020 12:30:16 +0200 Subject: [PATCH] Added guard for ioavr.h include in AVR Mega0 porthardware.h file. --- portable/IAR/AVR_Mega0/porthardware.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/portable/IAR/AVR_Mega0/porthardware.h b/portable/IAR/AVR_Mega0/porthardware.h index 4188ae274..793d5899c 100644 --- a/portable/IAR/AVR_Mega0/porthardware.h +++ b/portable/IAR/AVR_Mega0/porthardware.h @@ -1,7 +1,9 @@ #ifndef PORTHARDWARE_H #define PORTHARDWARE_H -#include +#ifndef __IAR_SYSTEMS_ASM__ + #include +#endif #include "FreeRTOSConfig.h" /*-----------------------------------------------------------*/