Update ebyte_lora_component.cpp

This commit is contained in:
Daniël Koek 2024-10-04 15:23:54 +01:00
parent 5db5167d25
commit 6dd8673183

View file

@ -333,6 +333,7 @@ ModeType EbyteLoraComponent::get_mode_() {
// ESP_LOGD(TAG, "MODE Conf!"); // ESP_LOGD(TAG, "MODE Conf!");
return CONFIGURATION; return CONFIGURATION;
} }
return MODE_INIT;
} }
void EbyteLoraComponent::set_mode_(ModeType mode) { void EbyteLoraComponent::set_mode_(ModeType mode) {
if (this->pin_m0_ == nullptr || this->pin_m1_ == nullptr) { if (this->pin_m0_ == nullptr || this->pin_m1_ == nullptr) {