mirror of https://github.com/arendst/Tasmota.git
Make KNX WEB MENU Optional
This commit is contained in:
parent
a6f27db910
commit
9c5d3f501d
|
@ -204,7 +204,9 @@ const char HTTP_BTN_MENU_MQTT[] PROGMEM =
|
|||
"";
|
||||
const char HTTP_BTN_MENU4[] PROGMEM =
|
||||
#ifdef USE_KNX
|
||||
#ifdef USE_KNX_WEB_MENU
|
||||
"<br/><form action='kn' method='get'><button>" D_CONFIGURE_KNX "</button></form>"
|
||||
#endif // USE_KNX_WEB_MENU
|
||||
#endif // USE_KNX
|
||||
"<br/><form action='lg' method='get'><button>" D_CONFIGURE_LOGGING "</button></form>"
|
||||
"<br/><form action='co' method='get'><button>" D_CONFIGURE_OTHER "</button></form>"
|
||||
|
@ -391,7 +393,9 @@ void StartWebserver(int type, IPAddress ipweb)
|
|||
#endif // USE_DOMOTICZ
|
||||
}
|
||||
#ifdef USE_KNX
|
||||
#ifdef USE_KNX_WEB_MENU
|
||||
WebServer->on("/kn", HandleKNXConfiguration);
|
||||
#endif // USE_KNX_WEB_MENU
|
||||
#endif // USE_KNX
|
||||
WebServer->on("/lg", HandleLoggingConfiguration);
|
||||
WebServer->on("/co", HandleOtherConfiguration);
|
||||
|
|
Loading…
Reference in New Issue