Исправлена ошибка неправильного сохранения в EEPROM настроек будильников и эффектов

This commit is contained in:
gunner47
2019-08-31 11:42:12 +03:00
parent c1973420d7
commit 774bff0bb4
2 changed files with 4 additions and 11 deletions

View File

@@ -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