
On Tue, Dec 29, 2015 at 8:44 AM, Joseph scanlan via chirp_devel chirp_devel@intrepid.danplanet.com wrote:
What I don't like is that the user can edit the offset with the duplex set to "", "+", or "-". IcomCIVRadio.set_memory silently drops the offset but the user's change is displayed until the next refresh.
Any corrections to my basic assumptions or suggestion on how leave the user less confused?
You need to handle these cases in your driver.
You can set rf.valid_duplexes = ["", "split"] so that only no offset and split are offered.
Alternatively, you could handle + and - such that is does the math and sets the appropriate transmit frequency in the radio. Many radios do this. Here's an example in the UV5R driver: http://chirp.danplanet.com/projects/chirp/repository/entry/chirp/drivers/uv5...
Tom KD7LXL