diff options
Diffstat (limited to 'NxWidgets/nxwm/include/nxwmconfig.hxx')
-rw-r--r-- | NxWidgets/nxwm/include/nxwmconfig.hxx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/NxWidgets/nxwm/include/nxwmconfig.hxx b/NxWidgets/nxwm/include/nxwmconfig.hxx index 4160fbae7..75f860c9d 100644 --- a/NxWidgets/nxwm/include/nxwmconfig.hxx +++ b/NxWidgets/nxwm/include/nxwmconfig.hxx @@ -429,7 +429,7 @@ * CONFIG_NXWM_TOUCHSCREEN_SIGNO - The realtime signal used to wake up the * touchscreen listener thread. Default: 5 * CONFIG_NXWM_TOUCHSCREEN_LISTENERPRIO - Priority of the touchscreen listener - * thread. Default: SCHED_PRIORITY_DEFAULT + * thread. Default: (SCHED_PRIORITY_DEFAULT + 20) * CONFIG_NXWM_TOUCHSCREEN_LISTENERSTACK - Touchscreen listener thread stack * size. Default 1024 */ @@ -447,7 +447,11 @@ #endif #ifndef CONFIG_NXWM_TOUCHSCREEN_LISTENERPRIO -# define CONFIG_NXWM_TOUCHSCREEN_LISTENERPRIO SCHED_PRIORITY_DEFAULT +# define CONFIG_NXWM_TOUCHSCREEN_LISTENERPRIO (SCHED_PRIORITY_DEFAULT + 20) +#endif + +#if CONFIG_NXWM_TOUCHSCREEN_LISTENERPRIO <= CONFIG_NXWM_CALIBRATION_LISTENERPRIO +# warning You should have CONFIG_NXWM_TOUCHSCREEN_LISTENERPRIO > CONFIG_NXWM_CALIBRATION_LISTENERPRIO #endif #ifndef CONFIG_NXWM_TOUCHSCREEN_LISTENERSTACK @@ -465,7 +469,7 @@ * CONFIG_NXWM_KEYBOARD_BUFSIZE - The size of the keyboard read data buffer. * Default: 16 * CONFIG_NXWM_KEYBOARD_LISTENERPRIO - Priority of the touchscreen listener - * thread. Default: SCHED_PRIORITY_DEFAULT + * thread. Default: (SCHED_PRIORITY_DEFAULT + 20) * CONFIG_NXWM_KEYBOARD_LISTENERSTACK - Keyboard listener thread stack * size. Default 1024 */ @@ -483,7 +487,7 @@ #endif #ifndef CONFIG_NXWM_KEYBOARD_LISTENERPRIO -# define CONFIG_NXWM_KEYBOARD_LISTENERPRIO SCHED_PRIORITY_DEFAULT +# define CONFIG_NXWM_KEYBOARD_LISTENERPRIO (SCHED_PRIORITY_DEFAULT + 20) #endif #ifndef CONFIG_NXWM_KEYBOARD_LISTENERSTACK |