MCPcopy Create free account
hub / github.com/SmingHub/Sming / init

Function init

samples/WebcamServer/app/application.cpp:89–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87} // namespace
88
89void init()
90{
91 Serial.begin(SERIAL_BAUD_RATE); // Enable serial
92 Serial.systemDebugOutput(true); // Allow debug output to serial
93
94 spiffs_mount();
95
96 WifiStation.enable(true);
97
98 System.onReady(startWebServer);
99}

Callers

nothing calls this directly

Calls 5

spiffs_mountFunction · 0.85
systemDebugOutputMethod · 0.80
onReadyMethod · 0.80
beginMethod · 0.45
enableMethod · 0.45

Tested by

no test coverage detected