SIM: Register the schedule note driver if enabled

This commit is contained in:
Gregory Nutt 2016-03-17 14:43:29 -06:00
parent 8fbe5b6243
commit 82c58eb609

View File

@ -42,6 +42,7 @@
#include <debug.h>
#include <nuttx/arch.h>
#include <nuttx/sched_note.h>
#include <nuttx/fs/fs.h>
#include <nuttx/fs/loop.h>
#include <nuttx/fs/ioctl.h>
@ -148,6 +149,11 @@ void up_initialize(void)
#endif
#endif /* CONFIG_NFILE_DESCRIPTORS */
#if defined(CONFIG_SCHED_INSTRUMENTATION_BUFFER) && \
defined(CONFIG_DRIVER_NOTE)
note_register(); /* Non-standard /dev/note */
#endif
#if defined(USE_DEVCONSOLE)
/* Start the sumulated UART device */