aboutsummaryrefslogtreecommitdiff
path: root/mousmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'mousmain.c')
-rw-r--r--mousmain.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mousmain.c b/mousmain.c
index 24801b7..dcc9de9 100644
--- a/mousmain.c
+++ b/mousmain.c
@@ -354,8 +354,8 @@ static int configure_driver_serial(LPTSRDATA data, int port, unsigned iobase)
serial_set_modem_control(iobase, SERIAL_MCR_DTR | SERIAL_MCR_RTS);
dputs("DTR ON, RTS ON");
- // Wait up to 10 ticks (550ms) for the mouse to send something we understand
- for (delay = 10; delay > 0; delay--) {
+ // Wait up to 11 ticks (~600ms) for the mouse to send something we understand
+ for (delay = 11; delay > 0; delay--) {
while (serial_data_ready(iobase)) {
uint8_t car = serial_read_data(iobase);
@@ -429,7 +429,7 @@ static int configure_driver_serial(LPTSRDATA data, int port, unsigned iobase)
}
#endif
-/// Auto-configure the TSR. Try to detect which mouse we have connected and enable all possible integrations.
+/// Configure the TSR. Try to detect which mouse we have connected and enable all possible integrations.
static int configure_driver(LPTSRDATA data, unsigned num_ports, int ports[])
{
int errs[MAX_PORTS+1] = {0};