Skip to content

Commit 1be9ff0

Browse files
committed
NUVOTON: CAN: Fix undeclared function gpio_set
ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
1 parent 5a4a4fd commit 1be9ff0

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

targets/TARGET_NUVOTON/TARGET_M261/can_api.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
#include "cmsis.h"
2424
#include "pinmap.h"
2525
#include "PeripheralPins.h"
26+
#include "gpio_api.h"
2627
#include "nu_modutil.h"
2728
#include "nu_miscutil.h"
2829
#include "nu_bitutil.h"

targets/TARGET_NUVOTON/TARGET_M451/can_api.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
#include "cmsis.h"
2424
#include "pinmap.h"
2525
#include "PeripheralPins.h"
26+
#include "gpio_api.h"
2627
#include "nu_modutil.h"
2728
#include "nu_miscutil.h"
2829
#include "nu_bitutil.h"

targets/TARGET_NUVOTON/TARGET_NUC472/can_api.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
#include "cmsis.h"
2424
#include "pinmap.h"
2525
#include "PeripheralPins.h"
26+
#include "gpio_api.h"
2627
#include "nu_modutil.h"
2728
#include "nu_miscutil.h"
2829
#include "nu_bitutil.h"

0 commit comments

Comments
 (0)