diff --git a/src/main.cpp b/src/main.cpp index 53b592c..7009ca5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -5,6 +5,7 @@ #include "mode/Mode.h" #include "display/Display.h" #include +#include #include "mode/GameOfLife/GameOfLife.h" #include "mode/Pong/Pong.h" @@ -162,6 +163,10 @@ void loop() { mode_step(); } +void timeSyncCallback(struct timeval *tv) { + Serial.printf("timeSyncCallback: %ld\n", tv->tv_sec); +} + void wifi_loop() { bool hasIp = (uint32_t) WiFi.localIP() != 0; if (!connected) {