* Make AutoConnectUpdateAct class available by incorporating the update * function into the menu. */
| 196 | * function into the menu. |
| 197 | */ |
| 198 | void 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. |
no test coverage detected