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/apollo2 | |
| parent | 9d0b860e546dab0204f0ed01f50458748da743b3 (diff) | |
[bsp][driver] 初始化 BSP 中的 rt_pin_ops
Diffstat (limited to 'bsp/apollo2')
| -rw-r--r-- | bsp/apollo2/board/gpio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bsp/apollo2/board/gpio.c b/bsp/apollo2/board/gpio.c index c2eb1be581..c985e0f2a7 100644 --- a/bsp/apollo2/board/gpio.c +++ b/bsp/apollo2/board/gpio.c @@ -212,6 +212,7 @@ const static struct rt_pin_ops am_pin_ops = am_pin_attach_irq, am_pin_dettach_irq, am_pin_irq_enable, + RT_NULL, }; int rt_hw_pin_init(void) |
