Pass spectrum data through to callback

Fixes issue #1734
pull/1752/head
George Baltz N3GB 2025-05-18 10:49:25 -04:00
rodzic cccee9b791
commit 63e1bb4c00
2 zmienionych plików z 4 dodań i 6 usunięć

Wyświetl plik

@ -772,8 +772,6 @@ int icom_init(RIG *rig)
// Reset 0x25/0x26 command detection for the rigs that may support it
icom_set_x25x26_ability(rig, -1);
rig_debug(RIG_DEBUG_TRACE, "%s: done\n", __func__);
RETURNFUNC(RIG_OK);
}
@ -9201,12 +9199,12 @@ 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 || frame[2] == 0x01)
if (frame[2] != BCASTID && frame[2] != CTRLID)
{
// 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__);
rig_debug(RIG_DEBUG_VERBOSE, "%s: Unknown/invalid destination - %#x\n",
__func__, frame[2]);
RETURNFUNC(RIG_OK);
}

Wyświetl plik

@ -35,7 +35,7 @@
#include <sys/time.h>
#endif
#define BACKEND_VER "20250107"
#define BACKEND_VER "20250517"
#define ICOM_IS_ID31 rig_is_model(rig, RIG_MODEL_ID31)
#define ICOM_IS_ID51 rig_is_model(rig, RIG_MODEL_ID51)