apps/examples/sched_note: Fix some issues associated with monitoring critical sections
This commit is contained in:
parent
5a95cb4601
commit
a473ececed
@ -288,8 +288,6 @@ static void dump_notes(size_t nread)
|
|||||||
case NOTE_CSECTION_ENTER:
|
case NOTE_CSECTION_ENTER:
|
||||||
case NOTE_CSECTION_LEAVE:
|
case NOTE_CSECTION_LEAVE:
|
||||||
{
|
{
|
||||||
FAR struct note_csection_s *note_csection =
|
|
||||||
(FAR struct note_csection_s *)note;
|
|
||||||
#ifdef CONFIG_SMP
|
#ifdef CONFIG_SMP
|
||||||
uint16_t count;
|
uint16_t count;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user