From 10303d58038e4b35c00d94c35c417ca7cc2fb73c Mon Sep 17 00:00:00 2001 From: Daniele Forsi IU5HKX Date: Sat, 9 Aug 2025 18:09:17 +0200 Subject: [PATCH] Fix function signature of spectrum_callback() --- bindings/python/test_rig.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/python/test_rig.py b/bindings/python/test_rig.py index 474fe1d1f..5c0c305ec 100755 --- a/bindings/python/test_rig.py +++ b/bindings/python/test_rig.py @@ -181,8 +181,8 @@ class TestClass: assert rig.set_pltune_callback(None) is None # spectrum event callback - def spectrum_callback(vfo, ptt, arg): - print("spectrum_callback", vfo, ptt, arg) + def spectrum_callback(rig_spectrum_line, arg): + print("spectrum_callback", rig_spectrum_line, arg) assert (1, 5000, 2345678901) == (vfo, arg) assert rig.set_spectrum_callback(spectrum_callback, 7890123456) is None