MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / getTaskState

Function getTaskState

Tactility/Source/app/systeminfo/SystemInfo.cpp:193–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191#if configUSE_TRACE_FACILITY
192
193static const char* getTaskState(const TaskStatus_t& task) {
194 switch (task.eCurrentState) {
195 case eRunning:
196 return "running";
197 case eReady:
198 return "ready";
199 case eBlocked:
200 return "blocked";
201 case eSuspended:
202 return "suspended";
203 case eDeleted:
204 return "deleted";
205 case eInvalid:
206 default:
207 return "invalid";
208 }
209}
210
211static void clearContainer(lv_obj_t* container) {
212 lv_obj_clean(container);

Callers 1

addRtosTaskFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected