mirror of
				https://github.com/goldenfishs/MRobot.git
				synced 2025-10-31 23:25:42 +08:00 
			
		
		
		
	修改task.h
This commit is contained in:
		
							parent
							
								
									91644b87c3
								
							
						
					
					
						commit
						080bf0bb6b
					
				| @ -15,6 +15,10 @@ typedef struct { | ||||
| {{thread_definitions}} | ||||
|     } thread; | ||||
| 
 | ||||
|     struct { | ||||
|         osMessageQueueId_t user_msg; /* 用户自定义任务消息队列 */ | ||||
|     } msgq; | ||||
| 
 | ||||
|     struct { | ||||
| {{heap_water_mark_definitions}} | ||||
|     } heap_water_mark; /* heap使用 */ | ||||
| @ -28,8 +32,10 @@ typedef struct { | ||||
|     } last_up_time; /* 任务最近运行时间 */ | ||||
| } Task_Runtime_t; | ||||
| 
 | ||||
| // 任务频率和初始化延时 | ||||
| // 任务频率 | ||||
| {{task_frequency_definitions}} | ||||
| // 任务初始化延时 | ||||
| #define TASK_INIT_DELAY (100u) | ||||
| {{task_init_delay_definitions}} | ||||
| 
 | ||||
| // 任务句柄 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 RB
						RB