From 7063acdda6fea4a9f5874082ed88d559d00a8c21 Mon Sep 17 00:00:00 2001 From: GUVWAF Date: Sat, 11 Feb 2023 11:32:10 +0100 Subject: [PATCH] Ignore syslog on portduino Breaks when running since mesh/http is not compiled --- src/RedirectablePrint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RedirectablePrint.cpp b/src/RedirectablePrint.cpp index 04dbcdd49..39ea76c00 100644 --- a/src/RedirectablePrint.cpp +++ b/src/RedirectablePrint.cpp @@ -103,7 +103,7 @@ size_t RedirectablePrint::log(const char *logLevel, const char *format, ...) } r += vprintf(format, arg); -#if HAS_WIFI || HAS_ETHERNET +#if (HAS_WIFI || HAS_ETHERNET) && !defined(ARCH_PORTDUINO) // if syslog is in use, collect the log messages and send them to syslog if (syslog.isEnabled()) { int ll = 0;