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

This commit is contained in:
Filip Manole 2020-10-27 12:30:16 +02:00
parent 685094e72f
commit 1813726e14

View file

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