[bsp][ESP32_C3] 修复数据类型警告 rt_int32_t -> rt_base_t (#8170)

This commit is contained in:
sp-cai 2023-10-23 20:29:15 +08:00 committed by GitHub
parent 1e2bb8ea7a
commit 6eb7fa2f6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ static rt_err_t mcu_pin_attach_irq(struct rt_device *device, rt_base_t pin,
return -RT_ENOSYS;
}
static rt_err_t mcu_pin_detach_irq(struct rt_device *device, rt_int32_t pin)
static rt_err_t mcu_pin_detach_irq(struct rt_device *device, rt_base_t pin)
{
/*TODO:disable gpio irq handle */
return RT_EOK;