kopia lustrzana https://github.com/Hamlib/Hamlib
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
rodzic
59358564c7
commit
bc1e0cc678
|
@ -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;
|
||||
|
|
Ładowanie…
Reference in New Issue