Split power work into own thread

Completely forseeable issue.
Now that we have _more_ ram available, this is a good option to split power related items out into their own thread.
This commit is contained in:
Ben V. Brown
2021-01-16 09:20:23 +11:00
parent 75a2d70080
commit 25e4abee7d
5 changed files with 44 additions and 13 deletions

View File

@@ -20,6 +20,7 @@ void vApplicationStackOverflowHook(TaskHandle_t *pxTask,
void startGUITask(void const *argument);
void startPIDTask(void const *argument);
void startMOVTask(void const *argument);
void startPOWTask(void const *argument);
extern TaskHandle_t pidTaskNotification;
extern uint8_t accelInit;
extern TickType_t lastMovementTime;