[chirp_devel] Two patches for Kenwood TM-D710
After programming my D710 with Chirp I noticed neither memory lockout ("skip") or odd-splits were working. Turns out these two features were just never implemented--until now!
Attached are two patches (apply in order, please). The first adds Skip support, the second adds odd-split support.
I'm not 100% happy with my implementation of odd-split support. Because the TM-D710 is implemented as a KenwoodLiveRadio, the memory is written to the radio each time a field is changed. If duplex is changed to "split", it tries to save 0.600 (the default offset) as the TX frequency, before the user has entered the actual TX frequency. To workaround this behavior, my code sets the TX freq to 0 if the offset is < 136 MHz (this seems to be the lowest TX freq the D710 will accept. The opposite is true when changing and odd-split back to None, + or, - (I send an offset of 0 to the radio when the offset is >= 136). It seems like a bad idea to write zeros to the radio, but I couldn't find a way to keep Chirp UI from saving to the radio on every field change.
Tom KD7LXL
The first adds Skip support
Applied, thanks!
but I couldn't find a way to keep Chirp UI from saving to the radio on every field change.
How about the attached patch? That will make the UI do what you want, I think. If that works for you, send me another copy of the second one without the magic behavior and I'll apply both.
Thanks!
but I couldn't find a way to keep Chirp UI from saving to the radio on every field change.
How about the attached patch? That will make the UI do what you want, I think. If that works for you, send me another copy of the second one without the magic behavior and I'll apply both.
Ohh, that works very nicely. Here's the whole thing (my first attempt at generating a patch with mercurial).
Tom KD7LXL
participants (2)
-
Dan Smith
-
Tom Hayward