Thanks. That was the magic.
On Dec 22, 2024, at 16:46, Dan Smith via Developers developers@lists.chirpmyradio.com wrote:
I’m sure the problem is with my driver but can anyone reassure me that tox uses an offset of 600 kHz?
Just to be (pedantically) clear, tox is a venv manager, which runs pytest, a generic test framework. The thing caring about offsets are chirp tests and code :)
In one tox test for my driver, duplex is changed from ‘+’ to ‘split’. The test also points out that we should ignore the offset. That may be a problem for the IC-F520.
Lots of radios only store tx/rx frequencies. CHIRP's model is the amateur one (long ago decided, for better or worse) so drivers of these radios have to emulate duplex/offset behavior to meet the model.
This was first (IIRC) addressed by the uv5r driver ages ago, which decided that 70MHz was the limit above which we'd flip to split from duplex:
https://github.com/kk7ds/chirp/blob/master/chirp/drivers/uv5r.py#L945-L956
I'd recommend just mirroring that behavior and you should be good.
--Dan _______________________________________________ Developers mailing list -- developers@lists.chirpmyradio.com To unsubscribe send an email to developers-leave@lists.chirpmyradio.com