From 685094e72f2c65814f7a69b761a92925eb7c5b77 Mon Sep 17 00:00:00 2001 From: Filip Manole Date: Tue, 27 Oct 2020 12:28:52 +0200 Subject: [PATCH] Added guard for ioavr.h include in AVR Dx porthardware.h file. --- portable/IAR/AVR_AVRDx/porthardware.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/portable/IAR/AVR_AVRDx/porthardware.h b/portable/IAR/AVR_AVRDx/porthardware.h index 2d17b4202..dbbcd05fc 100644 --- a/portable/IAR/AVR_AVRDx/porthardware.h +++ b/portable/IAR/AVR_AVRDx/porthardware.h @@ -1,7 +1,9 @@ #ifndef PORTHARDWARE_H #define PORTHARDWARE_H -#include +#ifndef __IAR_SYSTEMS_ASM__ + #include +#endif #include "FreeRTOSConfig.h" /*-----------------------------------------------------------*/