Problems with SPIFFS.h / FS.h / close-function

This comes from your own code, by calling the ValveState values open and close, you are overwriting the C-standard library functions open() and close() to your enum values. Rename your enum values (e.g., prefix them, or use the enum class in C++)

1 Like