Skip to content

Commit

Permalink
NUVOTON: I2C: 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 4366b68 commit 25c0491
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/i2c_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include "cmsis.h"
#include "pinmap.h"
#include "PeripheralPins.h"
#include "gpio_api.h"
#include "nu_modutil.h"
#include "nu_miscutil.h"
#include "nu_bitutil.h"
Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_M261/i2c_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include "cmsis.h"
#include "pinmap.h"
#include "PeripheralPins.h"
#include "gpio_api.h"
#include "nu_modutil.h"
#include "nu_miscutil.h"
#include "nu_bitutil.h"
Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_M451/i2c_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include "cmsis.h"
#include "pinmap.h"
#include "PeripheralPins.h"
#include "gpio_api.h"
#include "nu_modutil.h"
#include "nu_miscutil.h"
#include "nu_bitutil.h"
Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_NANO100/i2c_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include "cmsis.h"
#include "pinmap.h"
#include "PeripheralPins.h"
#include "gpio_api.h"
#include "nu_modutil.h"
#include "nu_miscutil.h"
#include "nu_bitutil.h"
Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_NUC472/i2c_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include "cmsis.h"
#include "pinmap.h"
#include "PeripheralPins.h"
#include "gpio_api.h"
#include "nu_modutil.h"
#include "nu_miscutil.h"
#include "nu_bitutil.h"
Expand Down

0 comments on commit 25c0491

Please sign in to comment.