mirror of
https://github.com/gunner47/GyverLamp.git
synced 2025-08-08 01:20:31 +03:00
Исправлены ошибки взаимодействия приложения с лампой; учтены "особенности" работы библиотечного UDP клиента
This commit is contained in:
@@ -186,6 +186,12 @@ void sendCurrent()
|
||||
#else
|
||||
inputBuffer += "0";
|
||||
#endif
|
||||
inputBuffer += " ";
|
||||
#ifdef USE_NTP
|
||||
inputBuffer += timeClient.getFormattedTime();
|
||||
#else
|
||||
inputBuffer += String(millis());
|
||||
#endif
|
||||
|
||||
#ifdef GENERAL_DEBUG
|
||||
Serial.println(inputBuffer);
|
||||
|
Reference in New Issue
Block a user