My current project combines a server, ftp and spiffs as the file system. All works as expected but I now want to add a weighing scale that can be calibrated and accessed via a html page. However, if I include HX711.h everything still works except the ftp server - any connection causes a WDT reset.
Any ideas how a header file can alter working code?
Answered my own question,
The header contains the code,
Code:
#if ARDUINO_VERSION <= 106
// "yield" is not implemented as noop in older Arduino Core releases, so let's define it.
// See also: https://stackoverflow.com/questions/34497758/what-is-the-secret-of-the-arduino-yieldfunction/34498165#34498165
void yield(void) {};
#endif
Removing the line void yield(void) {}; fixes the problem.