Fix TS950/SDX by increasing write_delay and timeout values...IF command takes over 250ms to respond

pull/224/head
Michael Black 2020-04-04 16:03:12 -05:00
rodzic c48a28a98d
commit 93613e55ac
2 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -22,7 +22,7 @@
#ifndef _IC10_H
#define _IC10_H 1
#define IC10_VER "20200402"
#define IC10_VER "20200404"
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

@ -73,9 +73,9 @@ const struct rig_caps ts950s_caps =
.serial_stop_bits = 2,
.serial_parity = RIG_PARITY_NONE,
.serial_handshake = RIG_HANDSHAKE_NONE,
.write_delay = 0,
.write_delay = 50,
.post_write_delay = 0,
.timeout = 200,
.timeout = 500, // this rig takes over 250ms to respond an IF command
.retry = 10,
.has_get_func = RIG_FUNC_NONE,
@ -216,9 +216,9 @@ const struct rig_caps ts950sdx_caps =
.serial_stop_bits = 2,
.serial_parity = RIG_PARITY_NONE,
.serial_handshake = RIG_HANDSHAKE_NONE,
.write_delay = 0,
.write_delay = 50,
.post_write_delay = 0,
.timeout = 200,
.timeout = 500, // this rig takes over 250ms to respond an IF command
.retry = 10,
.has_get_func = RIG_FUNC_NONE,