Fix GPIOViewer exception 3

This commit is contained in:
Theo Arends 2024-01-18 15:55:59 +01:00
parent f2f0686601
commit db70d9c8cb
1 changed files with 2 additions and 2 deletions

View File

@ -351,7 +351,7 @@ void CmndGvSampling(void) {
* GUI * GUI
\*********************************************************************************************/ \*********************************************************************************************/
#ifdef USE_WEBSERVER #ifdef USE_WEBSERVER
#define WEB_HANDLE_GV "gv1" #define WEB_HANDLE_GV "gv"
const char HTTP_BTN_MENU_GV[] PROGMEM = const char HTTP_BTN_MENU_GV[] PROGMEM =
"<p><form action='" WEB_HANDLE_GV "' method='get' target='_blank'><button>" D_GPIO_VIEWER "</button></form></p>"; "<p><form action='" WEB_HANDLE_GV "' method='get' target='_blank'><button>" D_GPIO_VIEWER "</button></form></p>";
@ -392,7 +392,7 @@ bool Xdrv121(uint32_t function) {
} }
break; break;
case FUNC_WEB_ADD_HANDLER: case FUNC_WEB_ADD_HANDLER:
Webserver->on(PSTR("/" WEB_HANDLE_GV), GVSetupAndStart); WebServer_on(PSTR("/" WEB_HANDLE_GV), GVSetupAndStart);
break; break;
#endif // USE_WEBSERVER #endif // USE_WEBSERVER
} }