diff --git a/sonoff/xdrv_01_webserver.ino b/sonoff/xdrv_01_webserver.ino index 50345145f..c18478f03 100644 --- a/sonoff/xdrv_01_webserver.ino +++ b/sonoff/xdrv_01_webserver.ino @@ -647,8 +647,6 @@ boolean HttpUser() /*-------------------------------------------------------------------------------------------*/ -#ifndef BE_MINIMAL - void WaitForRestart(String result) { String page = FPSTR(HTTP_HEAD); @@ -669,6 +667,10 @@ void WaitForRestart(String result) restart_flag = 2; } +/*-------------------------------------------------------------------------------------------*/ + +#ifndef BE_MINIMAL + void HandleConfiguration() { if (HttpUser()) { return; }