[errno code]fix that use RT_EEMPTY without -

This commit is contained in:
Zxy 2023-03-23 12:46:40 +08:00 committed by Man, Jianting (Meco)
parent 767c18aafc
commit e15adf5e45
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;