Suddenly extern "C" { .. } in esp_task_wdt.h is throwing error message

I think I found the issue…

one of my #include <esp_task_wdt.h> was within a function instead of simply at the top of the .cpp file.

working now.

Not sure I understand why this breaks that, but will not do that again…

1 Like