More refactoring for the movement thread

This commit is contained in:
Ben V. Brown
2020-05-29 21:54:09 +10:00
parent 6bb56c28ba
commit a13f501dfd
6 changed files with 164 additions and 132 deletions

View File

@@ -22,3 +22,11 @@ void vApplicationGetIdleTaskMemory(StaticTask_t **ppxIdleTaskTCBBuffer,
*pulIdleTaskStackSize = configMINIMAL_STACK_SIZE;
/* place for user code */
}
void vApplicationStackOverflowHook(xTaskHandle *pxTask,
signed portCHAR *pcTaskName) {
(void) pxTask;
(void) pcTaskName;
// We dont have a good way to handle a stack overflow at this point in time
reboot();
}