From af685016630d6a3c36b816d9886a5775b7bd4e07 Mon Sep 17 00:00:00 2001 From: Matthias Prinke <83612361+matthias-bs@users.noreply.github.com> Date: Thu, 5 Oct 2023 21:10:09 +0200 Subject: [PATCH] Fixed warning due to unused parameter --- src/WeatherSensor.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/WeatherSensor.cpp b/src/WeatherSensor.cpp index b277ce00..debb5774 100644 --- a/src/WeatherSensor.cpp +++ b/src/WeatherSensor.cpp @@ -1002,7 +1002,8 @@ First two bytes are an LFSR-16 digest, generator 0x8810 key 0xabf9 with a final #ifdef BRESSER_LIGHTNING DecodeStatus WeatherSensor::decodeBresserLightningPayload(const uint8_t *msg, uint8_t msgSize) -{ +{ + (void)msgSize; #if CORE_DEBUG_LEVEL == ARDUHAL_LOG_LEVEL_VERBOSE // see AS3935 Datasheet, Table 17 - Distance Estimation uint8_t const distance_map[] = { 1, 5, 6, 8, 10, 12, 14, 17, 20, 24, 27, 31, 34, 37, 40, 63 };