On 03/31/2012 01:07 AM, Dan Smith wrote:
Added support for VFO and other special memories
Nice!
- SPECIAL_MEMORIES = { # WARNING Index are hard wired in memory management code !!!
"VFOa-1.8M" : -35,
"VFOa-3.5M" : -34,
"VFOa-7M" : -33,
With this change, chirp will let me write (for example) 14MHz into the 7MHz VFO spot. What will the radio do if I upload this? :)
As I wrote in the mail more checking should be done on freq ranges but as far as I have tested you get silly behavior but nothing dangerous.
In detail: let's say you write 8.100 in VFOa-3.5M, as the radio go from one vfo memory to the next using its index number changing band you'll have the sequence 1.8123 -> 8.100 -> 7.123.
I don't have the radio handy but I remember I also get the radio loop in changing vfo bands once I had the vfo-hf in between an out of range memory the next, to reproduce in the above example you add vfoa-hf = 7.900 and radio (should) go 7.123 -> 8.100 -> 7.123 -> 7.900 -> 8.100 -> 7.123 -> 7.900 in loop. I suppose this is due to how the radio search when to go to VFOa-HF and where to next.
I all my test I never brick the radio.
I preferred to keep the freedom to put out of band values in those memories as this appear to be safe but we can discuss if it's better to add the range checking.
... your move ... ;)
73 de IZ3GME Marco