summaryrefslogtreecommitdiff
path: root/bsp/nuvoton
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2020-09-11 12:57:59 +0800
committerGitHub <[email protected]>2020-09-11 12:57:59 +0800
commit36cb4349a61d768c5e2fad0798647dfb3e0b523e (patch)
tree4884be1053baae696aa635356dbce01f410973ea /bsp/nuvoton
parent8ea34bf936afafb2f9ed6955c53064f9e8081680 (diff)
parent38b3a3445e59d11b5efbfafb72c4bdc4bcb6fee4 (diff)
Merge pull request #3897 from yangjie11/yj_dev1
[components][driver/pin.c]pin 框架增加 rt_pin_get
Diffstat (limited to 'bsp/nuvoton')
-rw-r--r--bsp/nuvoton/libraries/m480/rtt_port/drv_gpio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bsp/nuvoton/libraries/m480/rtt_port/drv_gpio.c b/bsp/nuvoton/libraries/m480/rtt_port/drv_gpio.c
index 47c26136a2..6e752332a4 100644
--- a/bsp/nuvoton/libraries/m480/rtt_port/drv_gpio.c
+++ b/bsp/nuvoton/libraries/m480/rtt_port/drv_gpio.c
@@ -44,7 +44,8 @@ static struct rt_pin_ops nu_gpio_ops =
nu_gpio_read,
nu_gpio_attach_irq,
nu_gpio_detach_irq,
- nu_gpio_irq_enable
+ nu_gpio_irq_enable,
+ RT_NULL,
};
static IRQn_Type au32GPIRQ[NU_PORT_CNT] = {GPA_IRQn, GPB_IRQn, GPC_IRQn, GPD_IRQn, GPE_IRQn, GPF_IRQn, GPG_IRQn, GPH_IRQn};