mirror of
https://github.com/goldenfishs/MRobot.git
synced 2026-04-01 05:17:13 +08:00
修复修复
This commit is contained in:
@@ -69,6 +69,7 @@ int8_t BSP_GPIO_EnableIRQ(BSP_GPIO_t gpio) {
|
||||
default:
|
||||
return BSP_ERR;
|
||||
}
|
||||
return BSP_OK;
|
||||
}
|
||||
|
||||
int8_t BSP_GPIO_DisableIRQ(BSP_GPIO_t gpio) {
|
||||
@@ -77,6 +78,7 @@ int8_t BSP_GPIO_DisableIRQ(BSP_GPIO_t gpio) {
|
||||
default:
|
||||
return BSP_ERR;
|
||||
}
|
||||
return BSP_OK;
|
||||
}
|
||||
int8_t BSP_GPIO_WritePin(BSP_GPIO_t gpio, bool value){
|
||||
if (gpio >= BSP_GPIO_NUM) return BSP_ERR;
|
||||
|
||||
Reference in New Issue
Block a user