Added 50ms wait after serial port is opened.
MicroKeyer was rejecting "ID" command as it was too fast.
Values at 20ms or less weren't working so doing 2* safety factor
This shouldn't harm any other things going on.
pull/361/head
Michael Black W9MDB 2020-08-18 17:13:02 -05:00
rodzic 59358564c7
commit bc1e0cc678
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -227,6 +227,7 @@ int HAMLIB_API serial_open(hamlib_port_t *rp)
}
serial_flush(rp); // ensure nothing is there when we open
hl_usleep(50 * 1000); // give a little time for MicroKeyer to finish
return RIG_OK;
}
@ -335,6 +336,7 @@ int HAMLIB_API serial_setup(hamlib_port_t *rp)
break;
#ifdef B230400
case 230400:
speed = B230400; /* super awesome! */
break;