MCPcopy Create free account
hub / github.com/BruceDevices/firmware / setEvilAllowEndpointDisplay

Function setEvilAllowEndpointDisplay

src/core/settings.cpp:567–577  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

565**********************************************************************/
566
567void setEvilAllowEndpointDisplay() {
568 options = {
569 {"Disallow",
570 [=]() { bruceConfig.setEvilAllowEndpointDisplay(false); },
571 bruceConfig.evilPortalEndpoints.showEndpoints == false},
572 {"Allow",
573 [=]() { bruceConfig.setEvilAllowEndpointDisplay(true); },
574 bruceConfig.evilPortalEndpoints.showEndpoints == true },
575 };
576 loopOptions(options, bruceConfig.evilPortalEndpoints.showEndpoints);
577}
578
579/*********************************************************************
580** Function: setEvilPasswordMode

Callers

nothing calls this directly

Calls 2

loopOptionsFunction · 0.70

Tested by

no test coverage detected