Add debug for retry for ft1000mp

https://github.com/Hamlib/Hamlib/issues/308
pull/314/head
Michael Black W9MDB 2020-06-18 11:09:15 -05:00
rodzic 95e869d087
commit 44a61ac9d9
1 zmienionych plików z 5 dodań i 0 usunięć

Wyświetl plik

@ -1456,6 +1456,11 @@ static int ft1000mp_get_update_data(RIG *rig, unsigned char ci,
ft1000mp_send_priv_cmd(rig, ci);
n = read_block(&rig_s->rigport, (char *) p->update_data, rl);
if (n == -RIG_ETIMEOUT)
{
rig_debug(RIG_DEBUG_TRACE, "%s: Timeout retry count = %d\n", __func__, retry);
}
}
while (retry-- && n == -RIG_ETIMEOUT);