From 0f3583646dfe0624e72b05d56fa9bfb2c91ef6bf Mon Sep 17 00:00:00 2001 From: Pawel Jalocha Date: Mon, 21 Mar 2022 09:09:41 +0000 Subject: [PATCH] Fix compile error --- main/sdlog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/sdlog.cpp b/main/sdlog.cpp index 4970774..3939a75 100644 --- a/main/sdlog.cpp +++ b/main/sdlog.cpp @@ -244,8 +244,8 @@ void IGC_ID(void) IGC_LogLine(Line, Len); } void IGC_MAC(void) - uint64_t MAC = getUniqueID(); - Len=4+6; +{ uint64_t MAC = getUniqueID(); + int Len=4+6; Len+=Format_String(Line+Len, "MAC "); Len+=Format_Hex(Line+Len, (uint16_t)(MAC>>32)); // ESP32 48-bit ID Len+=Format_Hex(Line+Len, (uint32_t) MAC );