mirror of
https://github.com/apache/nuttx.git
synced 2026-05-24 16:11:56 +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:
committed by
Brennan Ashton
parent
f2e268d1bc
commit
018cf26605
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user