mirror of
https://github.com/esphome/esphome.git
synced 2024-12-01 03:04:12 +01:00
Update lora.cpp
This commit is contained in:
parent
0744e7195b
commit
2640bd873f
1 changed files with 2 additions and 2 deletions
|
@ -139,8 +139,8 @@ bool Lora::sendMessage(std::string message) {
|
||||||
}
|
}
|
||||||
ESP_LOGD(TAG, "Sending: %s", message);
|
ESP_LOGD(TAG, "Sending: %s", message);
|
||||||
this->write_array((uint8_t *) &messageFixed, size);
|
this->write_array((uint8_t *) &messageFixed, size);
|
||||||
bool result = this->waitCompleteResponse(5000, 5000);
|
// bool result = this->waitCompleteResponse(5000, 5000);
|
||||||
return result;
|
return true;
|
||||||
}
|
}
|
||||||
void Lora::loop() {
|
void Lora::loop() {
|
||||||
if (!available()) {
|
if (!available()) {
|
||||||
|
|
Loading…
Reference in a new issue