summaryrefslogtreecommitdiff
path: root/bsp/beaglebone/drivers
diff options
context:
space:
mode:
authoryangjie <[email protected]>2020-09-11 11:16:42 +0800
committeryangjie <[email protected]>2020-09-11 11:16:42 +0800
commit38b3a3445e59d11b5efbfafb72c4bdc4bcb6fee4 (patch)
tree39c113fda43f68f070df9c60268c60a83762b853 /bsp/beaglebone/drivers
parent9d0b860e546dab0204f0ed01f50458748da743b3 (diff)
[bsp][driver] 初始化 BSP 中的 rt_pin_ops
Diffstat (limited to 'bsp/beaglebone/drivers')
-rw-r--r--bsp/beaglebone/drivers/gpio.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/bsp/beaglebone/drivers/gpio.c b/bsp/beaglebone/drivers/gpio.c
index 7eb9737573..425fbb4f4e 100644
--- a/bsp/beaglebone/drivers/gpio.c
+++ b/bsp/beaglebone/drivers/gpio.c
@@ -84,6 +84,10 @@ static struct rt_pin_ops am33xx_pin_ops =
am33xx_pin_mode,
am33xx_pin_write,
am33xx_pin_read,
+ RT_NULL,
+ RT_NULL,
+ RT_NULL,
+ RT_NULL,
};
int rt_hw_gpio_init(void)