Work around Nuvoton #define EMAC

pull/6847/head
Kevin Bracey 2018-01-16 13:05:55 +02:00
parent 958247265b
commit b222c25435
1 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,9 @@
#include "Callback.h"
#include "emac_stack_mem.h"
// Nuvoton platform headers define EMAC - avoid the collision
#undef EMAC
/**
* This interface should be used to abstract low level access to networking hardware
* All operations receive a `void *` hw pointer which an emac device provides when