unknown 2 weeks ago
parent
commit
4ce2fb5f4b
2 changed files with 8 additions and 4 deletions
  1. 4 0
      desk/modules/menu/menu.cpp
  2. 4 4
      project/ewarm/settings/tuber.wsdt

+ 4 - 0
desk/modules/menu/menu.cpp

@@ -6,6 +6,7 @@
 #define MON_DELAY           1000
 
 osThreadId  menu_update_handle;
+osThreadId  menu_control_handle;
 
 menuItem* selectedMenuItem;
 bool update_flag = false;
@@ -27,6 +28,9 @@ void menu_init(void)
     v_task_event_handle = osThreadCreate(osThread(M_Event_Thread), NULL);
 #endif
     
+    osThreadDef(control_thr, vControl, osPriorityNormal, 0, 6*configMINIMAL_STACK_SIZE);
+    menu_update_handle = osThreadCreate(osThread(control_thr), NULL);
+    
     // Обновление меню
     osThreadDef(menu_up_thr, vUpdate, osPriorityNormal, 0, 6*configMINIMAL_STACK_SIZE);
     menu_update_handle = osThreadCreate(osThread(menu_up_thr), NULL);

File diff suppressed because it is too large
+ 4 - 4
project/ewarm/settings/tuber.wsdt


Some files were not shown because too many files changed in this diff