27 lines
698 B
Diff
27 lines
698 B
Diff
From 601dd1361cbc897b41c989a10dca2e2bb191a112 Mon Sep 17 00:00:00 2001
|
|
From: Michael Black W9MDB <mdblack98@yahoo.com>
|
|
Date: Sun, 29 Dec 2024 08:51:47 -0600
|
|
Subject: [PATCH 2/6] Fix testrigopen.c rig_list_foreach
|
|
https://github.com/Hamlib/Hamlib/issues/1647
|
|
|
|
---
|
|
tests/testrigopen.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/tests/testrigopen.c b/tests/testrigopen.c
|
|
index b98064a1e..74886e8d7 100644
|
|
--- a/tests/testrigopen.c
|
|
+++ b/tests/testrigopen.c
|
|
@@ -16,7 +16,7 @@
|
|
|
|
#define SERIAL_PORT "/dev/ttyUSB0"
|
|
|
|
-int callback(struct rig_caps *caps, rig_ptr_t rigp)
|
|
+int callback(const struct rig_caps *caps, rig_ptr_t rigp)
|
|
{
|
|
RIG *rig = (RIG *) rigp;
|
|
|
|
--
|
|
2.47.1
|
|
|