mirror of
https://github.com/esphome/esphome.git
synced 2024-11-28 01:34:18 +01:00
Update ebyte_lora_component.cpp
This commit is contained in:
parent
5db5167d25
commit
6dd8673183
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue