Formatting, use selected bauddrate for serial retry timing too

This commit is contained in:
Jos van Mourik
2024-08-02 15:09:52 +02:00
parent 49d71c19ba
commit 282d4e0c70

View File

@@ -230,7 +230,7 @@ mtouch_write_to_host(void *priv)
} }
no_write_to_machine: no_write_to_machine:
timer_on_auto(&dev->host_to_serial_timer, (1000000.0 / (double) 9600.0) * (double) (1 + 8 + 1)); timer_on_auto(&dev->host_to_serial_timer, (1000000.0 / (double) dev->baud_rate) * (double) (1 + 8 + 1));
} }
void void