mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 10:46:31 +00:00
Fix GPIOViewer exception 3
This commit is contained in:
parent
f2f0686601
commit
db70d9c8cb
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user