mirror of
https://github.com/gunner47/GyverLamp.git
synced 2025-08-07 17:10:30 +03:00
Исправлена ошибка неправильного сохранения в EEPROM настроек будильников и эффектов
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
*/
|
||||
|
||||
// Ссылка для менеджера плат:
|
||||
// http://arduino.esp8266.com/stable/package_esp8266com_index.json
|
||||
// https://arduino.esp8266.com/stable/package_esp8266com_index.json
|
||||
|
||||
|
||||
// ============= НАСТРОЙКИ =============
|
||||
@@ -321,13 +321,6 @@ void setup()
|
||||
&(FavoritesManager::ReadFavoritesFromEeprom),
|
||||
&(FavoritesManager::SaveFavoritesToEeprom));
|
||||
|
||||
sendCurrent(); // отправляем настройки (куда?)
|
||||
char reply[inputBuffer.length() + 1];
|
||||
inputBuffer.toCharArray(reply, inputBuffer.length() + 1);
|
||||
Udp.beginPacket(Udp.remoteIP(), Udp.remotePort());
|
||||
Udp.write(reply);
|
||||
Udp.endPacket();
|
||||
|
||||
#ifdef USE_NTP
|
||||
timeClient.begin();
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user