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 }