diff options
| author | yangjie <[email protected]> | 2020-09-11 11:16:42 +0800 |
|---|---|---|
| committer | yangjie <[email protected]> | 2020-09-11 11:16:42 +0800 |
| commit | 38b3a3445e59d11b5efbfafb72c4bdc4bcb6fee4 (patch) | |
| tree | 39c113fda43f68f070df9c60268c60a83762b853 /bsp/nuclei | |
| parent | 9d0b860e546dab0204f0ed01f50458748da743b3 (diff) | |
[bsp][driver] 初始化 BSP 中的 rt_pin_ops
Diffstat (limited to 'bsp/nuclei')
| -rw-r--r-- | bsp/nuclei/libraries/gd32vf103/HAL_Drivers/drv_gpio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bsp/nuclei/libraries/gd32vf103/HAL_Drivers/drv_gpio.c b/bsp/nuclei/libraries/gd32vf103/HAL_Drivers/drv_gpio.c index f7572a57db..779f4a7bb8 100644 --- a/bsp/nuclei/libraries/gd32vf103/HAL_Drivers/drv_gpio.c +++ b/bsp/nuclei/libraries/gd32vf103/HAL_Drivers/drv_gpio.c @@ -443,6 +443,7 @@ const static struct rt_pin_ops _gd32_pin_ops = gd32_pin_attach_irq, gd32_pin_dettach_irq, gd32_pin_irq_enable, + RT_NULL, }; rt_inline void pin_irq_hdr(int irqno) |
