kopia lustrzana https://github.com/Hamlib/Hamlib
Update ts440 to fix ID return value and reduce timeout values
rodzic
3ac82b5635
commit
f7341d7c6d
|
@ -123,9 +123,10 @@ transaction:
|
||||||
{
|
{
|
||||||
rig_debug(RIG_DEBUG_ERR, "%s: expected ID reponse and got %s\n", __func__,
|
rig_debug(RIG_DEBUG_ERR, "%s: expected ID reponse and got %s\n", __func__,
|
||||||
buffer);
|
buffer);
|
||||||
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
return retval;
|
return RIG_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
retval = read_string(&rs->rigport, data, 50, ";", 1);
|
retval = read_string(&rs->rigport, data, 50, ";", 1);
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
#ifndef _IC10_H
|
#ifndef _IC10_H
|
||||||
#define _IC10_H 1
|
#define _IC10_H 1
|
||||||
|
|
||||||
#define IC10_VER "20200406"
|
#define IC10_VER "20200407"
|
||||||
|
|
||||||
int ic10_cmd_trim (char *data, int data_len);
|
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);
|
int ic10_transaction (RIG *rig, const char *cmd, int cmd_len, char *data, int *data_len);
|
||||||
|
|
|
@ -75,8 +75,8 @@ const struct rig_caps ts440_caps =
|
||||||
.serial_stop_bits = 2,
|
.serial_stop_bits = 2,
|
||||||
.serial_parity = RIG_PARITY_NONE,
|
.serial_parity = RIG_PARITY_NONE,
|
||||||
.serial_handshake = RIG_HANDSHAKE_NONE,
|
.serial_handshake = RIG_HANDSHAKE_NONE,
|
||||||
.write_delay = 20,
|
.write_delay = 0,
|
||||||
.post_write_delay = 30,
|
.post_write_delay = 0,
|
||||||
.timeout = 200,
|
.timeout = 200,
|
||||||
.retry = 10,
|
.retry = 10,
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue