mirror of
https://github.com/anklimov/lighthub
synced 2025-12-07 20:29:50 +03:00
PrintEx
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user