Skip to content

Commit

Permalink
Removed unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-bs committed May 24, 2024
1 parent a081330 commit 54d7369
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/AppLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,6 @@ void AppLayer::getPayloadStage1(uint8_t port, LoraEncoder &encoder)
{
(void)port; // suppress warning regarding unused parameter

bool mithermometer_valid = false;
#if defined(MITHERMOMETER_EN) || defined(THEENGSDECODER_EN)
float indoor_temp_c;
float indoor_humidity;
Expand Down Expand Up @@ -282,7 +281,6 @@ encodeDigital(appPayloadCfg, encoder);
#if defined(MITHERMOMETER_EN) || defined(THEENGSDECODER_EN)
if (bleSensors.data[0].valid)
{
mithermometer_valid = true;
indoor_temp_c = bleSensors.data[0].temperature / div;
indoor_humidity = bleSensors.data[0].humidity / div;
log_i("Indoor Air Temp.: % 3.1f °C", bleSensors.data[0].temperature / div);
Expand Down

0 comments on commit 54d7369

Please sign in to comment.