MCPcopy Create free account
hub / github.com/Hieromon/AutoConnect / enable

Method enable

src/AutoConnectUpdate.cpp:198–205  ·  view source on GitHub ↗

* Make AutoConnectUpdateAct class available by incorporating the update * function into the menu. */

Source from the content-addressed store, hash-verified

196 * function into the menu.
197 */
198void AutoConnectUpdateAct::enable(void) {
199 _enable = true;
200 _status = UPDATE_IDLE;
201 if (_auxCatalog) {
202 _auxCatalog->menu(WiFi.status() == WL_CONNECTED);
203 AC_DBG("AutoConnectUpdate enabled\n");
204 }
205}
206
207/**
208 * An entry point of the process loop as AutoConnect::handleClient.

Callers 1

_enableUpdateMethod · 0.45

Calls 2

menuMethod · 0.45
statusMethod · 0.45

Tested by

no test coverage detected