Rotators and amplifiers converted to rig_flush

https://github.com/Hamlib/Hamlib/issues/307
pull/345/head
Michael Black W9MDB 2020-06-23 08:44:27 -05:00
rodzic 1be5c71e76
commit b50975729c
10 zmienionych plików z 10 dodań i 10 usunięć

Wyświetl plik

@ -98,7 +98,7 @@ int kpa_flushbuffer(AMP *amp)
rs = &amp->state; rs = &amp->state;
return serial_flush(&rs->ampport); return rig_flush(&rs->ampport);
} }
int kpa_transaction(AMP *amp, const char *cmd, char *response, int response_len) int kpa_transaction(AMP *amp, const char *cmd, char *response, int response_len)

Wyświetl plik

@ -67,7 +67,7 @@ celestron_transaction(ROT *rot, const char *cmdstr,
transaction_write: transaction_write:
serial_flush(&rs->rotport); rig_flush(&rs->rotport);
if (cmdstr) if (cmdstr)
{ {

Wyświetl plik

@ -63,7 +63,7 @@ easycomm_transaction(ROT *rot, const char *cmdstr, char *data, size_t data_len)
} }
rs = &rot->state; rs = &rot->state;
serial_flush(&rs->rotport); rig_flush(&rs->rotport);
retval = write_block(&rs->rotport, cmdstr, strlen(cmdstr)); retval = write_block(&rs->rotport, cmdstr, strlen(cmdstr));
if (retval != RIG_OK) if (retval != RIG_OK)

Wyświetl plik

@ -69,7 +69,7 @@ gs232_transaction(ROT *rot, const char *cmdstr,
transaction_write: transaction_write:
serial_flush(&rs->rotport); rig_flush(&rs->rotport);
if (cmdstr) if (cmdstr)
{ {

Wyświetl plik

@ -74,7 +74,7 @@ gs232a_transaction(ROT *rot, const char *cmdstr,
transaction_write: transaction_write:
serial_flush(&rs->rotport); rig_flush(&rs->rotport);
if (cmdstr) if (cmdstr)
{ {

Wyświetl plik

@ -75,7 +75,7 @@ gs232b_transaction(ROT *rot, const char *cmdstr,
transaction_write: transaction_write:
serial_flush(&rs->rotport); rig_flush(&rs->rotport);
if (cmdstr) if (cmdstr)
{ {

Wyświetl plik

@ -83,7 +83,7 @@ ioptron_transaction(ROT *rot, const char *cmdstr,
transaction_write: transaction_write:
serial_flush(&rs->rotport); rig_flush(&rs->rotport);
if (cmdstr) if (cmdstr)
{ {

Wyświetl plik

@ -179,7 +179,7 @@ rc2800_transaction(ROT *rot, const char *cmdstr,
transaction_write: transaction_write:
serial_flush(&rs->rotport); rig_flush(&rs->rotport);
if (cmdstr) if (cmdstr)
{ {

Wyświetl plik

@ -111,7 +111,7 @@ static int meade_transaction(ROT *rot, const char *cmdstr,
while (1) while (1)
{ {
transaction: transaction:
serial_flush(&rs->rotport); rig_flush(&rs->rotport);
if (cmdstr) if (cmdstr)
{ {

Wyświetl plik

@ -83,7 +83,7 @@ static int prosistel_transaction(ROT *rot, const char *cmdstr,
transaction_write: transaction_write:
serial_flush(&rs->rotport); rig_flush(&rs->rotport);
if (cmdstr) if (cmdstr)
{ {