Adjust time values in ft1000mp.c based on testing with user

https://github.com/Hamlib/Hamlib/issues/308
pull/314/head
Michael Black W9MDB 2020-06-18 17:08:12 -05:00
rodzic c66044f89b
commit ec15323293
2 zmienionych plików z 9 dodań i 7 usunięć

Wyświetl plik

@ -230,8 +230,8 @@ const struct rig_caps ft1000mp_caps =
.serial_handshake = RIG_HANDSHAKE_NONE,
.write_delay = FT1000MP_WRITE_DELAY,
.post_write_delay = FT1000MP_POST_WRITE_DELAY,
.timeout = 500, // was 2000 -- see https://github.com/Hamlib/Hamlib/issues/308
.retry = 1,
.timeout = 400, // was 2000 -- see https://github.com/Hamlib/Hamlib/issues/308
.retry = 6,
.has_get_func = FT1000MP_FUNC_ALL,
.has_set_func = FT1000MP_FUNC_ALL,
.has_get_level = FT1000MP_LEVEL_GET,
@ -358,8 +358,8 @@ const struct rig_caps ft1000mpmkv_caps =
.serial_handshake = RIG_HANDSHAKE_NONE,
.write_delay = FT1000MP_WRITE_DELAY,
.post_write_delay = FT1000MP_POST_WRITE_DELAY,
.timeout = 1000,
.retry = 1,
.timeout = 400,
.retry = 6,
.has_get_func = FT1000MP_FUNC_ALL,
.has_set_func = FT1000MP_FUNC_ALL,
.has_get_level = FT1000MP_LEVEL_GET,
@ -486,8 +486,8 @@ const struct rig_caps ft1000mpmkvfld_caps =
.serial_handshake = RIG_HANDSHAKE_NONE,
.write_delay = FT1000MP_WRITE_DELAY,
.post_write_delay = FT1000MP_POST_WRITE_DELAY,
.timeout = 1000,
.retry = 1,
.timeout = 400,
.retry = 6,
.has_get_func = FT1000MP_FUNC_ALL,
.has_set_func = FT1000MP_FUNC_ALL,
.has_get_level = FT1000MP_LEVEL_GET,

Wyświetl plik

@ -30,7 +30,7 @@
#define FT1000MP_PACING_INTERVAL 5
#define FT1000MP_PACING_DEFAULT_VALUE 0
#define FT1000MP_WRITE_DELAY 50
#define FT1000MP_WRITE_DELAY 5
/* Delay sequential fast writes */
@ -202,6 +202,8 @@ int ft1000mp_close(RIG *rig);
int ft1000mp_set_freq(RIG *rig, vfo_t vfo, freq_t freq);
int ft1000mp_get_freq(RIG *rig, vfo_t vfo, freq_t *freq);
int ft1000mp_set_split_vfo(RIG *rig, vfo_t vfo, split_t split, vfo_t tx_vfo);
int ft1000mp_set_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width); /* select mode */
int ft1000mp_get_mode(RIG *rig, vfo_t vfo, rmode_t *mode, pbwidth_t *width); /* get mode */