Update ebyte_lora_component.cpp

This commit is contained in:
Daniël Koek 2024-10-11 12:14:10 +01:00
parent bf2ab133bb
commit 4b87b5d79e

View file

@ -343,7 +343,7 @@ void EbyteLoraComponent::set_mode_(ModeType mode) {
this->current_mode_ = mode;
return;
}
if (!this->can_send_message_("set_mode_")) {
if (!this->can_send_message_("set_mode_") && mode != CONFIGURATION) {
return;
}
// recommended to wait for 2ms after high