mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
add comment
This commit is contained in:
@@ -193,7 +193,7 @@ void SyslogService::mark_interval(unsigned long interval) {
|
|||||||
SyslogService::QueuedLogMessage::QueuedLogMessage(unsigned long id, std::shared_ptr<uuid::log::Message> && content)
|
SyslogService::QueuedLogMessage::QueuedLogMessage(unsigned long id, std::shared_ptr<uuid::log::Message> && content)
|
||||||
: id_(id)
|
: id_(id)
|
||||||
, content_(std::move(content)) {
|
, content_(std::move(content)) {
|
||||||
// Added by proddy - check Ethernet up also
|
// Added by proddy - check for Ethernet too. This assumes the network has already started.
|
||||||
if (time_good_ || WiFi.status() == WL_CONNECTED || ETH.linkUp()) {
|
if (time_good_ || WiFi.status() == WL_CONNECTED || ETH.linkUp()) {
|
||||||
#if UUID_SYSLOG_HAVE_GETTIMEOFDAY
|
#if UUID_SYSLOG_HAVE_GETTIMEOFDAY
|
||||||
if (gettimeofday(&time_, nullptr) != 0) {
|
if (gettimeofday(&time_, nullptr) != 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user