diff --git a/pcr/pcr.c b/pcr/pcr.c index f876fb8a3..9be5fb965 100644 --- a/pcr/pcr.c +++ b/pcr/pcr.c @@ -301,6 +301,9 @@ pcr_transaction(RIG * rig, const char *cmd) return -RIG_EPROTO; } + /* flush any leftover */ + serial_flush(&rs->rigport); + rig_debug(RIG_DEBUG_TRACE, "%s: got %c%c%c%c\n", __func__, buf[0], buf[1], buf[2], buf[3]); diff --git a/pcr/pcr.h b/pcr/pcr.h index 7788becb8..b311fa466 100644 --- a/pcr/pcr.h +++ b/pcr/pcr.h @@ -30,7 +30,7 @@ #define TOK_EL_ANL TOKEN_BACKEND(1) -#define BACKEND_VER "0.6" +#define BACKEND_VER "0.7" #define PCR_MAX_CMD_LEN 32 diff --git a/pcr/pcr100.c b/pcr/pcr100.c index 9394a6fde..c135abb94 100644 --- a/pcr/pcr100.c +++ b/pcr/pcr100.c @@ -62,7 +62,7 @@ const struct rig_caps pcr100_caps = { .dcd_type = RIG_DCD_RIG, .port_type = RIG_PORT_SERIAL, - .serial_rate_min = 300, + .serial_rate_min = 9600, /* slower speeds gave troubles */ .serial_rate_max = 38400, .serial_data_bits = 8, .serial_stop_bits = 1, diff --git a/pcr/pcr1000.c b/pcr/pcr1000.c index d19e0c704..118cf5831 100644 --- a/pcr/pcr1000.c +++ b/pcr/pcr1000.c @@ -57,7 +57,7 @@ const struct rig_caps pcr1000_caps = { .dcd_type = RIG_DCD_RIG, .port_type = RIG_PORT_SERIAL, - .serial_rate_min = 300, + .serial_rate_min = 9600, /* slower speeds gave troubles */ .serial_rate_max = 38400, .serial_data_bits = 8, .serial_stop_bits = 1,