From ac595d44b04730ca3d8a2ac1bd70741c0096ecf5 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Thu, 11 Oct 2018 08:32:09 +0200 Subject: [PATCH] Fix compiler error Fix compiler error on BE_MINIMAL not finding WaitForRestart() --- sonoff/xdrv_01_webserver.ino | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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; }