[chirp_devel] [PATCH][UV-5R] Add VFO Frequency Presets to Work Mode Tab [#467]

Jim Unroe
Sat Feb 2 17:19:40 PST 2013


Andrew, Marco and everyone,

The weekend has finally arrived and I have been able to put in some more
time into this project.

I got it switched to integer numbers like we discussed. I wasn't that hard
to do once I got going again.

It definitely looks much better that my previous attempt. As expected it
eliminated the floating point conversion problem I was having.

I had it all fancy where the frequency limits that you could enter was
based on the vhf/uhf lower and upper limits set on the Other tab. It was
pretty cool but it could get in trouble if you changed the band setting
without keying in the appropriate frequency. I think that problem would go
away if you could use the entered frequency to automatically set the
correct band.

If you don't mind, take a look at it and let me know if there is anything
else I should do or if anything is missing. This it the trickiest thing
I've done so far and I want to make sure it is right before I submit it to
Dan.

Thanks,
Jim

On Mon, Jan 28, 2013 at 7:10 PM, Jim Unroe <rock.unroe at gmail.com> wrote:

> Marco,
> I'll see if I can't give this another look this weekend.
> Jim
>
> On Mon, Jan 28, 2013 at 7:16 AM, IZ3GME Marco <iz3gme.marco at gmail.com>wrote:
>
>> Right!
>>
>> in other words Jim:
>> - use RadioSettingValueInteger to store freq as tens of Hz
>> - remove / 100000.0 from convert_bytes_to_freq
>> - remove whole real_freq = int(freq * 100000) line from
>> convert_freq_to_bytes
>>
>> 73 de IZ3GME Marco
>>
>> P.S.
>> Sorry I don't have the time to write and test code myself today
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20130202/87ad7d91/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: workmode_vfo_test2.patch
Type: application/octet-stream
Size: 12352 bytes
Desc: not available
Url : http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20130202/87ad7d91/attachment-0001.obj 


More information about the chirp_devel mailing list