Added guard for ioavr.h include in AVR Dx porthardware.h file.

This commit is contained in:
Filip Manole 2020-10-27 12:28:52 +02:00
parent bdb38d85dc
commit 685094e72f

View file

@ -1,7 +1,9 @@
#ifndef PORTHARDWARE_H #ifndef PORTHARDWARE_H
#define PORTHARDWARE_H #define PORTHARDWARE_H
#ifndef __IAR_SYSTEMS_ASM__
#include <ioavr.h> #include <ioavr.h>
#endif
#include "FreeRTOSConfig.h" #include "FreeRTOSConfig.h"
/*-----------------------------------------------------------*/ /*-----------------------------------------------------------*/