| 93 | } // namespace |
| 94 | |
| 95 | void init() |
| 96 | { |
| 97 | Serial.begin(SERIAL_BAUD_RATE); // 115200 by default |
| 98 | Serial.systemDebugOutput(true); // Enable debug output to serial |
| 99 | |
| 100 | spiffs_mount(); // Mount file system, in order to work with files |
| 101 | |
| 102 | WifiStation.enable(true); |
| 103 | WifiStation.config(WIFI_SSID, WIFI_PWD); |
| 104 | // WifiStation.enableDHCP(true); |
| 105 | |
| 106 | // Run WEB server on system ready |
| 107 | System.onReady(startWebServer); |
| 108 | } |
nothing calls this directly
no test coverage detected