Skip to content

Commit 4712f9d

Browse files
committed
NUVOTON: EMAC: Fix undeclared function mbed_error_printf
ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
1 parent baf6a30 commit 4712f9d

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

connectivity/drivers/emac/TARGET_NUVOTON_EMAC/TARGET_M460/m460_eth.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
//#include <stdbool.h>
2121
#include "m460_eth.h"
2222
#include "mbed_toolchain.h"
23+
#include "mbed_interface.h"
2324
//#define NU_TRACE
2425
#include "numaker_eth_hal.h"
2526

connectivity/drivers/emac/TARGET_NUVOTON_EMAC/TARGET_M480/m480_eth.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#include <stdbool.h>
2121
#include "m480_eth.h"
2222
#include "mbed_toolchain.h"
23+
#include "mbed_interface.h"
2324
//#define NU_TRACE
2425
#include "numaker_eth_hal.h"
2526

connectivity/drivers/emac/TARGET_NUVOTON_EMAC/TARGET_NUC472/nuc472_eth.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#include <stdbool.h>
2121
#include "nuc472_eth.h"
2222
#include "mbed_toolchain.h"
23+
#include "mbed_interface.h"
2324
//#define NU_TRACE
2425
#include "numaker_eth_hal.h"
2526

0 commit comments

Comments
 (0)