kopia lustrzana https://github.com/Hamlib/Hamlib
Rotators and amplifiers converted to rig_flush
https://github.com/Hamlib/Hamlib/issues/307pull/345/head
rodzic
1be5c71e76
commit
b50975729c
|
@ -98,7 +98,7 @@ int kpa_flushbuffer(AMP *amp)
|
|||
|
||||
rs = &->state;
|
||||
|
||||
return serial_flush(&rs->ampport);
|
||||
return rig_flush(&rs->ampport);
|
||||
}
|
||||
|
||||
int kpa_transaction(AMP *amp, const char *cmd, char *response, int response_len)
|
||||
|
|
|
@ -67,7 +67,7 @@ celestron_transaction(ROT *rot, const char *cmdstr,
|
|||
|
||||
transaction_write:
|
||||
|
||||
serial_flush(&rs->rotport);
|
||||
rig_flush(&rs->rotport);
|
||||
|
||||
if (cmdstr)
|
||||
{
|
||||
|
|
|
@ -63,7 +63,7 @@ easycomm_transaction(ROT *rot, const char *cmdstr, char *data, size_t data_len)
|
|||
}
|
||||
|
||||
rs = &rot->state;
|
||||
serial_flush(&rs->rotport);
|
||||
rig_flush(&rs->rotport);
|
||||
retval = write_block(&rs->rotport, cmdstr, strlen(cmdstr));
|
||||
|
||||
if (retval != RIG_OK)
|
||||
|
|
|
@ -69,7 +69,7 @@ gs232_transaction(ROT *rot, const char *cmdstr,
|
|||
|
||||
transaction_write:
|
||||
|
||||
serial_flush(&rs->rotport);
|
||||
rig_flush(&rs->rotport);
|
||||
|
||||
if (cmdstr)
|
||||
{
|
||||
|
|
|
@ -74,7 +74,7 @@ gs232a_transaction(ROT *rot, const char *cmdstr,
|
|||
|
||||
transaction_write:
|
||||
|
||||
serial_flush(&rs->rotport);
|
||||
rig_flush(&rs->rotport);
|
||||
|
||||
if (cmdstr)
|
||||
{
|
||||
|
|
|
@ -75,7 +75,7 @@ gs232b_transaction(ROT *rot, const char *cmdstr,
|
|||
|
||||
transaction_write:
|
||||
|
||||
serial_flush(&rs->rotport);
|
||||
rig_flush(&rs->rotport);
|
||||
|
||||
if (cmdstr)
|
||||
{
|
||||
|
|
|
@ -83,7 +83,7 @@ ioptron_transaction(ROT *rot, const char *cmdstr,
|
|||
|
||||
transaction_write:
|
||||
|
||||
serial_flush(&rs->rotport);
|
||||
rig_flush(&rs->rotport);
|
||||
|
||||
if (cmdstr)
|
||||
{
|
||||
|
|
|
@ -179,7 +179,7 @@ rc2800_transaction(ROT *rot, const char *cmdstr,
|
|||
|
||||
transaction_write:
|
||||
|
||||
serial_flush(&rs->rotport);
|
||||
rig_flush(&rs->rotport);
|
||||
|
||||
if (cmdstr)
|
||||
{
|
||||
|
|
|
@ -111,7 +111,7 @@ static int meade_transaction(ROT *rot, const char *cmdstr,
|
|||
while (1)
|
||||
{
|
||||
transaction:
|
||||
serial_flush(&rs->rotport);
|
||||
rig_flush(&rs->rotport);
|
||||
|
||||
if (cmdstr)
|
||||
{
|
||||
|
|
|
@ -83,7 +83,7 @@ static int prosistel_transaction(ROT *rot, const char *cmdstr,
|
|||
|
||||
transaction_write:
|
||||
|
||||
serial_flush(&rs->rotport);
|
||||
rig_flush(&rs->rotport);
|
||||
|
||||
if (cmdstr)
|
||||
{
|
||||
|
|
Ładowanie…
Reference in New Issue