Commit d1730e23 authored by Eric Duminil's avatar Eric Duminil
Browse files

Also works without wifi

parent 054e32aa
......@@ -68,6 +68,7 @@ void setup() {
web_config::initialize();
#ifdef AMPEL_WIFI
web_config::setWifiConnectionCallback([]() {
//TODO: Move somewhere else
led_effects::showKITTWheel(color::green);
......@@ -93,6 +94,7 @@ void setup() {
led_effects::showKITTWheel(color::red);
Serial.println(F("Connection to WiFi failed"));
});
#endif
void setWifiConnectionFailedCallback(void (*function)());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment