Add stack_size vars, reduce stack usage

This commit is contained in:
Unknown
2019-09-25 22:47:40 -04:00
parent be48bef9cb
commit ecf1ccd25e
15 changed files with 48 additions and 8 deletions
+1 -1
View File
@@ -754,7 +754,7 @@ static void analog_polling_thread(void*) {
}
void start_analog_thread() {
osThreadDef(thread_def, analog_polling_thread, osPriorityLow, 0, 128);
osThreadDef(thread_def, analog_polling_thread, osPriorityLow, 0, 512 / sizeof(StackType_t));
osThreadCreate(osThread(thread_def), NULL);
}