Sfoglia il codice sorgente

dont need to track startTime

Chris Mullins 8 anni fa
parent
commit
f385e2bc26
1 ha cambiato i file con 0 aggiunte e 4 eliminazioni
  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() {