Formatting, use selected bauddrate for serial retry timing too
This commit is contained in:
@@ -230,7 +230,7 @@ mtouch_write_to_host(void *priv)
|
||||
}
|
||||
|
||||
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
|
||||
|
Reference in New Issue
Block a user