mirror of
https://github.com/google/pebble
synced 2026-10-11 22:34:12 +02:00
@@ -143,7 +143,7 @@ void vApplicationStackOverflowHook(TaskHandle_t task_handle, signed char *name)
|
||||
PebbleTask task = pebble_task_get_task_for_handle(task_handle);
|
||||
|
||||
// If the task is application or worker, ignore this hook. We have a memory protection region
|
||||
// setup at the bottom of those stacks and the code that catches MPU violiations to that
|
||||
// setup at the bottom of those stacks and the code that catches MPU violations to that
|
||||
// area in fault_handling.c has the logic to safely kill those user tasks without forcing
|
||||
// a reboot.
|
||||
if ((task != PebbleTask_App) && (task != PebbleTask_Worker)) {
|
||||
|
||||
Reference in New Issue
Block a user