Skip to content

Commit

Permalink
NUVOTON: Serial: Fix undeclared function gpio_set
Browse files Browse the repository at this point in the history
ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  • Loading branch information
ccli8 committed Mar 18, 2024
1 parent 25c0491 commit 11d9997
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_M251/serial_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include "mbed_error.h"
#include "mbed_assert.h"
#include "PeripheralPins.h"
#include "gpio_api.h"
#include "nu_modutil.h"
#include "nu_bitutil.h"
#include <string.h>
Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_M261/serial_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include "mbed_error.h"
#include "mbed_assert.h"
#include "PeripheralPins.h"
#include "gpio_api.h"
#include "nu_modutil.h"
#include "nu_bitutil.h"
#include <string.h>
Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_M451/serial_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include "mbed_error.h"
#include "mbed_assert.h"
#include "PeripheralPins.h"
#include "gpio_api.h"
#include "nu_modutil.h"
#include "nu_bitutil.h"
#include <string.h>
Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_NANO100/serial_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include "mbed_error.h"
#include "mbed_assert.h"
#include "PeripheralPins.h"
#include "gpio_api.h"
#include "nu_modutil.h"
#include "nu_bitutil.h"
#include <string.h>
Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_NUC472/serial_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include "mbed_error.h"
#include "mbed_assert.h"
#include "PeripheralPins.h"
#include "gpio_api.h"
#include "nu_modutil.h"
#include "nu_bitutil.h"
#include <string.h>
Expand Down

0 comments on commit 11d9997

Please sign in to comment.