Update ebyte_lora.cpp

This commit is contained in:
Daniël Koek 2024-03-28 18:26:41 +00:00
parent 866b448db9
commit 4c9833632b

View file

@ -178,6 +178,7 @@ void EbyteLoraComponent::loop() {
}
}
}
this->rssi_sensor_->publish_state((data[data.size() - 1] / 255.0) * 100);
ESP_LOGD(TAG, "RSSI: %u % ", (data[data.size() - 1] / 255.0) * 100);
}
}