This commit is contained in:
livello
2018-10-09 10:00:19 +03:00
parent 698c2a653a
commit 02a64ac155

View File

@@ -109,7 +109,6 @@ EthernetClient ethClient;
#endif #endif
#ifndef SYSLOG_DISABLE #ifndef SYSLOG_DISABLE
//#include <EthernetUdp.h>
#include <Syslog.h> #include <Syslog.h>
EthernetUDP udpSyslogClient; EthernetUDP udpSyslogClient;
Syslog udpSyslog(udpSyslogClient, SYSLOG_PROTO_IETF); Syslog udpSyslog(udpSyslogClient, SYSLOG_PROTO_IETF);
@@ -493,7 +492,7 @@ void onInitialStateInitLAN() {
lanStatus = HAVE_IP_ADDRESS; lanStatus = HAVE_IP_ADDRESS;
} }
else { else {
debugSerial<<"No IP data found in flash"; debugSerial<<"\nNo IP data found in flash";
wdt_dis(); wdt_dis();
#if defined(__AVR__) || defined(__SAM3X8E__) #if defined(__AVR__) || defined(__SAM3X8E__)
res = Ethernet.begin(mac, 12000); res = Ethernet.begin(mac, 12000);
@@ -1412,8 +1411,8 @@ void thermoLoop(void) {
nextThermostatCheck = millis() + THERMOSTAT_CHECK_PERIOD; nextThermostatCheck = millis() + THERMOSTAT_CHECK_PERIOD;
#ifndef DISABLE_FREERAM_PRINT #ifndef DISABLE_FREERAM_PRINT
(thermostatCheckPrinted) ? debugSerial<<F("\nfree:")) : debugSerial<<F(" ")); (thermostatCheckPrinted) ? debugSerial<<F("\nfree:") : debugSerial<<F(" ");
debugSerial<<freeRam()); debugSerial<<freeRam();
debugSerial<<" "); debugSerial<<" ");
#endif #endif
} }