[components][drivers][pin module]:typo fix for pin_detach_irq

This commit is contained in:
luo jiao
2018-06-26 22:18:58 +08:00
parent 355e9f29fb
commit ef8398c2bb
11 changed files with 23 additions and 25 deletions
+2 -2
View File
@@ -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
};