mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 08:38:38 +08:00
lirc: fix bug about lirc_raw_event
N/A Change-Id: If00d0a7e4e4f9a0d9119b6a170cffd993f23f71a Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
This commit is contained in:
parent
f2e268d1bc
commit
018cf26605
1 changed files with 2 additions and 1 deletions
|
@ -944,9 +944,10 @@ void lirc_raw_event(FAR struct lirc_lowerhalf_s *lower,
|
|||
}
|
||||
}
|
||||
|
||||
leave_critical_section(flags);
|
||||
upper->gap = false;
|
||||
}
|
||||
|
||||
leave_critical_section(flags);
|
||||
}
|
||||
|
||||
sample = ev.pulse ? LIRC_PULSE(ev.duration) : LIRC_SPACE(ev.duration);
|
||||
|
|
Loading…
Reference in a new issue