mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-12 11:17:06 +01:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user