mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-01-29 01:59:08 +03:00
auto formatting
This commit is contained in:
@@ -15,17 +15,17 @@
|
||||
#define RESTART_SERVICE_PATH "/rest/restart"
|
||||
|
||||
class RestartService {
|
||||
public:
|
||||
RestartService(AsyncWebServer* server, SecurityManager* securityManager);
|
||||
public:
|
||||
RestartService(AsyncWebServer * server, SecurityManager * securityManager);
|
||||
|
||||
static void restartNow() {
|
||||
WiFi.disconnect(true);
|
||||
delay(500);
|
||||
ESP.restart();
|
||||
}
|
||||
static void restartNow() {
|
||||
WiFi.disconnect(true);
|
||||
delay(500);
|
||||
ESP.restart();
|
||||
}
|
||||
|
||||
private:
|
||||
void restart(AsyncWebServerRequest* request);
|
||||
private:
|
||||
void restart(AsyncWebServerRequest * request);
|
||||
};
|
||||
|
||||
#endif // end RestartService_h
|
||||
#endif // end RestartService_h
|
||||
|
||||
Reference in New Issue
Block a user