Update lora.cpp

This commit is contained in:
Daniël Koek 2024-03-26 08:47:40 +00:00
parent f1f01c3d20
commit f86424d556

View file

@ -108,10 +108,10 @@ bool Lora::wait_complete_response_(uint32_t timeout) {
ESP_LOGD(TAG, "Timeout error!"); ESP_LOGD(TAG, "Timeout error!");
return false; return false;
} }
delay(50); delayMicroseconds(2);
} }
// per data sheet control after aux goes high is 2ms so delay for at least that long) // per data sheet control after aux goes high is 2ms so delay for at least that long)
delay(20); delayMicroseconds(2);
return true; return true;
} }
void Lora::dump_config() { void Lora::dump_config() {