DisplayAPP

Revision:
2:b7ffe5216cd7
Parent:
0:13c1f522bbef
Child:
3:693902c86ca0
--- a/DisplayApp.h	Fri Sep 16 08:04:52 2016 +0000
+++ b/DisplayApp.h	Fri Sep 16 10:26:16 2016 +0000
@@ -24,8 +24,11 @@
 
     /** Constructor: Initializes DisplayApp.
      *
+     * @param   tsk_pri        Priority of the thread function. (default: osPriorityNormal).
+     * @param   init_pri       Priority of before the USB is connected. (default: osPriorityLow).
+     * @param   stack_size     stack size (in bytes) requirements for the thread function. (default: DEFAULT_STACK_SIZE).
      */
-    DisplayApp();
+    DisplayApp(osPriority tsk_pri = osPriorityNormal, osPriority init_pri = osPriorityLow, uint32_t stack_size = DEFAULT_STACK_SIZE);
 
     /** Send RGB888 data
      *
@@ -97,6 +100,7 @@
     pos_seq_t pos_seq;
     int pos_x;
     int pos_y;
+    osPriority change_pri;
     FunctionPointer event;
 
     void touch_int_callback(void);