Adjusted some timings fix

This commit is contained in:
Marius Muja 2024-01-10 23:04:39 -08:00
parent bbdbaa2f0d
commit eb420119be
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ namespace secplus1 {
this->print_tx_packet(packet); this->print_tx_packet(packet);
auto tx_delay = this->last_rx_ + 125 - millis(); auto tx_delay = this->last_rx_ + 125 - millis();
if (delay > 0) { if (tx_delay > 0) {
this->scheduler_->set_timeout(this->ratgdo_, "", tx_delay, [=] { this->scheduler_->set_timeout(this->ratgdo_, "", tx_delay, [=] {
this->sw_serial_.enableIntTx(false); this->sw_serial_.enableIntTx(false);
this->sw_serial_.write(packet[0]); this->sw_serial_.write(packet[0]);