[bsp][ESP32_C3] 修复数据类型警告 rt_int32_t -> rt_base_t (#8170)
This commit is contained in:
parent
1e2bb8ea7a
commit
6eb7fa2f6c
|
@ -53,7 +53,7 @@ static rt_err_t mcu_pin_attach_irq(struct rt_device *device, rt_base_t pin,
|
||||||
return -RT_ENOSYS;
|
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 */
|
/*TODO:disable gpio irq handle */
|
||||||
return RT_EOK;
|
return RT_EOK;
|
||||||
|
|
Loading…
Reference in New Issue