MCPcopy Create free account
hub / github.com/HomeSpan/HomeSpan / StepperControl

Method StepperControl

src/src/extras/StepperControl.cpp:32–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30//////////////////////////
31
32StepperControl::StepperControl(uint32_t priority, uint32_t cpu){
33
34 upLinkQueue = xQueueCreate(1,sizeof(upLink_t));
35 downLinkQueue = xQueueCreate(1,sizeof(downLink_t));
36 xTaskCreateUniversal(motorTask, "motorTaskHandle", 8096, this, priority, &motorTaskHandle, cpu);
37 ESP_LOGI(STEPPER_TAG,"motor task started with priority %d on cpu %d",priority,cpu);
38}
39
40//////////////////////////
41

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected