From e4d9904a79fdd88708e41ff07279575ea8d384e9 Mon Sep 17 00:00:00 2001 From: Pawel Jalocha Date: Fri, 8 May 2020 11:02:34 +0100 Subject: [PATCH] Fix compile without SDLOG --- main/sdlog.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main/sdlog.cpp b/main/sdlog.cpp index 503b0cb..27dd3b2 100644 --- a/main/sdlog.cpp +++ b/main/sdlog.cpp @@ -72,6 +72,8 @@ static int WriteLog(size_t MaxBlock=FIFOsize/2) // process th Count+=Write; } return Count; } +#ifdef WITH_SDLOG + extern "C" void vTaskSDLOG(void* pvParameters) { Log_FIFO.Clear(); @@ -91,3 +93,4 @@ extern "C" Log_Check(); } } +#endif // WITH_SDLOG