@ripperle - The code uses vTaskSuspendAll() / xTaskResumeAll(). These support nested calls without any additional complexity.
Hope that helps,
Best Regards, Dave
Fortunately and as documented: Calls to vTaskSuspendAll can be nested.
Ahh OK thanks, I did not think about that
Regards