Remove unneeded clause from ra37xx.c

pull/799/head
Mike Black W9MDB 2021-09-11 10:09:17 -05:00
rodzic a7ac90e76e
commit f852b1c645
2 zmienionych plików z 2 dodań i 3 usunięć

Wyświetl plik

@ -143,8 +143,7 @@ static int ra37xx_one_transaction(RIG *rig, const char *cmd, char *data,
} }
/* drop other receiver id, and "pause" (empty) packets */ /* drop other receiver id, and "pause" (empty) packets */
if ((priv->receiver_id != -1 && (respbuf[1] - '0') != priv->receiver_id) || if ((priv->receiver_id != -1 && (respbuf[1] - '0') != priv->receiver_id))
retval == pkt_header_len + 1)
{ {
if (!rig_check_cache_timeout(&tv, rs->rigport.timeout)) if (!rig_check_cache_timeout(&tv, rs->rigport.timeout))
{ {

Wyświetl plik

@ -26,7 +26,7 @@
#undef BACKEND_VER #undef BACKEND_VER
#define BACKEND_VER "20200114" #define BACKEND_VER "20210911"
extern const struct confparams ra37xx_cfg_params[]; extern const struct confparams ra37xx_cfg_params[];