mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-19 08:33:32 +08:00
[errno code]fix that use RT_EEMPTY without -
This commit is contained in:
parent
767c18aafc
commit
e15adf5e45
@ -249,7 +249,7 @@ static rt_err_t exti_line_irq_list_bind(struct rt_pin_irq_hdr *irq_hdr)
|
||||
|
||||
static rt_err_t exti_line_irq_list_unbind(rt_int16_t pin)
|
||||
{
|
||||
rt_err_t ret = RT_EEMPTY;
|
||||
rt_err_t ret = -RT_EEMPTY;
|
||||
rt_base_t level;
|
||||
struct exti_line_irq *item;
|
||||
|
||||
|
@ -280,7 +280,7 @@ static rt_err_t exti_line_irq_list_bind(struct rt_pin_irq_hdr *irq_hdr)
|
||||
|
||||
static rt_err_t exti_line_irq_list_unbind(rt_int16_t pin)
|
||||
{
|
||||
rt_err_t ret = RT_EEMPTY;
|
||||
rt_err_t ret = -RT_EEMPTY;
|
||||
rt_base_t level;
|
||||
struct exti_line_irq *item;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user