Update ts440 to fix ID return value and reduce timeout values

pull/224/head
Michael Black 2020-04-07 16:17:24 -05:00
rodzic 3ac82b5635
commit f7341d7c6d
3 zmienionych plików z 5 dodań i 4 usunięć

Wyświetl plik

@ -123,9 +123,10 @@ transaction:
{
rig_debug(RIG_DEBUG_ERR, "%s: expected ID reponse and got %s\n", __func__,
buffer);
return retval;
}
return retval;
return RIG_OK;
}
retval = read_string(&rs->rigport, data, 50, ";", 1);

Wyświetl plik

@ -22,7 +22,7 @@
#ifndef _IC10_H
#define _IC10_H 1
#define IC10_VER "20200406"
#define IC10_VER "20200407"
int ic10_cmd_trim (char *data, int data_len);
int ic10_transaction (RIG *rig, const char *cmd, int cmd_len, char *data, int *data_len);

Wyświetl plik

@ -75,8 +75,8 @@ const struct rig_caps ts440_caps =
.serial_stop_bits = 2,
.serial_parity = RIG_PARITY_NONE,
.serial_handshake = RIG_HANDSHAKE_NONE,
.write_delay = 20,
.post_write_delay = 30,
.write_delay = 0,
.post_write_delay = 0,
.timeout = 200,
.retry = 10,