修复修复

This commit is contained in:
2026-02-04 15:31:28 +08:00
parent 5e8bab2014
commit 8a031012fa
5 changed files with 87 additions and 46 deletions

View File

@@ -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;