porthardware.h file update for AVR Mega0 and Dx (#212)

* Added guard for ioavr.h include in AVR Dx porthardware.h file.
* Added guard for ioavr.h include in AVR Mega0 porthardware.h file.
This commit is contained in:
filipgeorge 2020-10-27 21:26:52 +02:00 committed by GitHub
parent 6a5784598a
commit 1431b65110
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

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

View File

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