mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-21 10:36:04 +08:00
[components][drivers][pin module]:typo fix for pin_detach_irq
This commit is contained in:
@@ -95,7 +95,7 @@ rt_err_t ls1c_pin_attach_irq(struct rt_device *device, rt_int32_t pin,
|
||||
return RT_EOK;
|
||||
}
|
||||
|
||||
rt_err_t ls1c_pin_dettach_irq(struct rt_device *device, rt_int32_t pin)
|
||||
rt_err_t ls1c_pin_detach_irq(struct rt_device *device, rt_int32_t pin)
|
||||
{
|
||||
return RT_EOK;
|
||||
}
|
||||
@@ -119,7 +119,7 @@ const static struct rt_pin_ops _ls1c_pin_ops =
|
||||
ls1c_pin_read,
|
||||
|
||||
ls1c_pin_attach_irq,
|
||||
ls1c_pin_dettach_irq,
|
||||
ls1c_pin_detach_irq,
|
||||
ls1c_pin_irq_enable
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user