Ignore icom fe fe 01 packets

pull/1630/head
Mike Black W9MDB 2024-11-11 17:14:56 -06:00
rodzic 22c0001320
commit 320daa975a
1 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

@ -9152,9 +9152,11 @@ int icom_process_async_frame(RIG *rig, size_t frame_length,
* the rest is data
* and don't forget one byte at the end for the EOM
*/
if (frame[2] != 0x00)
if (frame[2] != 0x00 || frame[2] == 0x01)
{
rig_debug(RIG_DEBUG_VERBOSE, "%s: 3rd byte not 0x00...not async\n", __func__);
// just ignoring 0x01 for now
// fe fe 01 94 1c 03 00 80 07 07 00 fd
rig_debug(RIG_DEBUG_VERBOSE, "%s: 3rd byte not 0x00 or is 0x01...not async\n", __func__);
RETURNFUNC(RIG_OK);
}