Update ebyte_lora_component.cpp

This commit is contained in:
Daniël Koek 2024-06-03 13:10:37 +01:00
parent 80375e6a07
commit ad01a1eb87

View file

@ -425,8 +425,8 @@ void EbyteLoraComponent::loop() {
}
}
}
#endif
}
#endif
this->rssi_sensor_->publish_state((data[data.size() - 1] / 255.0) * 100);
ESP_LOGD(TAG, "RSSI: %f", (data[data.size() - 1] / 255.0) * 100);
}