diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-05-01 23:31:47 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-05-01 23:31:47 +0000 |
commit | f1310686dead78d5bbfecba31ee10bc2ec5d3bc3 (patch) | |
tree | 8fee6fd1421f4d25031cd8dec12d9723dfebef78 /NxWidgets/nxwm/include | |
parent | f13e7a39a9af94a2f8706b62f2fb1aabc26cb67c (diff) | |
download | px4-nuttx-f1310686dead78d5bbfecba31ee10bc2ec5d3bc3.tar.gz px4-nuttx-f1310686dead78d5bbfecba31ee10bc2ec5d3bc3.tar.bz2 px4-nuttx-f1310686dead78d5bbfecba31ee10bc2ec5d3bc3.zip |
Missed Calypso file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4685 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'NxWidgets/nxwm/include')
-rw-r--r-- | NxWidgets/nxwm/include/nxwmconfig.hxx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/NxWidgets/nxwm/include/nxwmconfig.hxx b/NxWidgets/nxwm/include/nxwmconfig.hxx index d76b08098..cfdd7510e 100644 --- a/NxWidgets/nxwm/include/nxwmconfig.hxx +++ b/NxWidgets/nxwm/include/nxwmconfig.hxx @@ -282,7 +282,10 @@ * NxConsole Window Configuration * * CONFIG_NXWM_NXCONSOLE_PRIO - Priority of the NxConsole task. Default: - * SCHED_PRIORITY_DEFAULT + * SCHED_PRIORITY_DEFAULT. NOTE: This priority should be less than + * CONFIG_NXWIDGETS_SERVERPRIO or else there may be data overrun errors. + * Such errors would most likely appear as duplicated rows of data on the + * display. * CONFIG_NXWM_NXCONSOLE_STACKSIZE - The stack size to use when starting the * NxConsole task. Default: 2048 bytes. * CONFIG_NXWM_NXCONSOLE_WCOLOR - The color of the NxConsole window background. @@ -297,6 +300,11 @@ # define CONFIG_NXWM_NXCONSOLE_PRIO SCHED_PRIORITY_DEFAULT #endif +#if CONFIG_NXWIDGETS_SERVERPRIO <= CONFIG_NXWM_NXCONSOLE_PRIO +# warning "CONFIG_NXWIDGETS_SERVERPRIO <= CONFIG_NXWM_NXCONSOLE_PRIO" +# warning" -- This can result in data overrun errors" +#endif + #ifndef CONFIG_NXWM_NXCONSOLE_STACKSIZE # define CONFIG_NXWM_NXCONSOLE_STACKSIZE 2048 #endif |