Skip to content

Commit

Permalink
Fixed warning due to unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-bs committed Oct 5, 2023
1 parent f1ea2bb commit af68501
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/WeatherSensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 };
Expand Down

0 comments on commit af68501

Please sign in to comment.