kopia lustrzana https://github.com/Hamlib/Hamlib
Make kenwood a bit more robust to discern between no reply and corrupted/unexpected reply
This logic should be usable to use AI mode eventually or share serial splitter linepull/1161/head
rodzic
b133b90419
commit
0bacb35f06
|
@ -525,7 +525,15 @@ transaction_read:
|
|||
|
||||
if (retry_read++ < rs->rigport.retry)
|
||||
{
|
||||
goto transaction_write;
|
||||
if (strlen(buffer) == 0)
|
||||
{
|
||||
goto transaction_write; // didn't get an answer so send again
|
||||
}
|
||||
else
|
||||
{
|
||||
// should be able to handle transceive mode here
|
||||
goto transaction_read; // might be an async or corrupt reply so we'll read until timeout
|
||||
}
|
||||
}
|
||||
|
||||
retval = -RIG_EPROTO;
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#include "misc.h"
|
||||
#include "idx_builtin.h"
|
||||
|
||||
#define BACKEND_VER "20221021"
|
||||
#define BACKEND_VER "20221118"
|
||||
|
||||
#define EOM_KEN ';'
|
||||
#define EOM_TH '\r'
|
||||
|
|
Ładowanie…
Reference in New Issue