From db70d9c8cb3543ec78fd87cc27880e2f112e37a0 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Thu, 18 Jan 2024 15:55:59 +0100 Subject: [PATCH] Fix GPIOViewer exception 3 --- tasmota/tasmota_xdrv_driver/xdrv_121_gpioviewer.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasmota/tasmota_xdrv_driver/xdrv_121_gpioviewer.ino b/tasmota/tasmota_xdrv_driver/xdrv_121_gpioviewer.ino index 25108f7a6..96281511c 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_121_gpioviewer.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_121_gpioviewer.ino @@ -351,7 +351,7 @@ void CmndGvSampling(void) { * GUI \*********************************************************************************************/ #ifdef USE_WEBSERVER -#define WEB_HANDLE_GV "gv1" +#define WEB_HANDLE_GV "gv" const char HTTP_BTN_MENU_GV[] PROGMEM = "
"; @@ -392,7 +392,7 @@ bool Xdrv121(uint32_t function) { } break; case FUNC_WEB_ADD_HANDLER: - Webserver->on(PSTR("/" WEB_HANDLE_GV), GVSetupAndStart); + WebServer_on(PSTR("/" WEB_HANDLE_GV), GVSetupAndStart); break; #endif // USE_WEBSERVER }