Explorar o código

dont need to track startTime

Chris Mullins %!s(int64=8) %!d(string=hai) anos
pai
achega
f385e2bc26
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  1. 0 4
      src/main.cpp

+ 0 - 4
src/main.cpp

@@ -22,8 +22,6 @@ MiLightHttpServer *httpServer;
 int numUdpServers = 0;
 MiLightUdpServer** udpServers;
 
-uint64_t startTime;
-
 void initMilightUdpServers() {
   if (udpServers) {
     for (int i = 0; i < numUdpServers; i++) {
@@ -89,8 +87,6 @@ void setup() {
   httpServer = new MiLightHttpServer(settings, milightClient);
   httpServer->onSettingsSaved(applySettings);
   httpServer->begin();
-  
-  startTime = millis();
 }
 
 void loop() {