ESP.restart() bring failure in .h file

may bee a stupid question. but if I use ESP.restart() in main.cpp everything is OK, but if I use it in a header file i get “Klasse “EspClass”” hat keinen Member ““reststart””.C/C++(135) i have Arduino.h included, whi do I miss,

thanks for hint

Maybe it’s just a typo and you have an additional “s” inside “restart”:

ESP.restart()” vs. “ESP.reststart()

1 Like