forked from nuttx/nuttx-update
fix build with CONFIG_SCHED_INSTRUMENTATION_FUNCTION
This commit is contained in:
parent
2ec36fa7bd
commit
81996900db
1 changed files with 3 additions and 3 deletions
|
@ -162,8 +162,8 @@ static void note_driver_instrument_leave(FAR void *this_fn,
|
|||
FAR void *call_site, FAR void *arg) noinstrument_function;
|
||||
static struct instrument_s g_note_instrument =
|
||||
{
|
||||
.entry = note_driver_instrument_enter,
|
||||
.exit = note_driver_instrument_leave,
|
||||
.enter = note_driver_instrument_enter,
|
||||
.leave = note_driver_instrument_leave,
|
||||
};
|
||||
#endif
|
||||
|
||||
|
@ -1969,7 +1969,7 @@ int note_driver_register(FAR struct note_driver_s *driver)
|
|||
|
||||
if (!initialized)
|
||||
{
|
||||
instrument_register(g_note_instrument)
|
||||
instrument_register(&g_note_instrument);
|
||||
initialized = true;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue