hardware: tweak core and core-webui targets

given that relay, button and led settings may be hardcoded,
explicitly remove from -core and -core-webui
restore telnet debugging though, since the terminal output needs it

for -core-webui, disables mdns and the generic webui server + webui blob
per 56f74cfe, make the resulting .bin even smaller
This commit is contained in:
Maxim Prokhorov
2021-10-20 12:48:08 +03:00
parent 0b64bd0229
commit a2c02a38e5
7 changed files with 40 additions and 22 deletions

View File

@@ -880,14 +880,14 @@ void buttonEvent(size_t id, ButtonEvent event) {
switch (action) {
#if RELAY_SUPPORT
case ButtonAction::Toggle:
case ButtonAction::On:
case ButtonAction::Off:
case ButtonAction::Pulse:
#if RELAY_SUPPORT
_buttonRelayAction(id, action);
break;
#endif
break;
case ButtonAction::AccessPoint:
wifiToggleAp();