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

Marco IZ3GME
Sun Feb 3 05:31:00 PST 2013


Hi Jim
in attach some patches to refine your code.

73 de IZ3GME Marco

On 03/02/2013 02:19, Jim Unroe wrote:
> 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
> <mailto: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 <mailto: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
>
>
>
>
>
>
> _______________________________________________
> chirp_devel mailing list
> chirp_devel at intrepid.danplanet.com
> http://intrepid.danplanet.com/mailman/listinfo/chirp_devel
> Developer docs: http://chirp.danplanet.com/projects/chirp/wiki/Developers
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chirp.hg_1836.patch
Type: text/x-patch
Size: 1695 bytes
Desc: not available
Url : http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20130203/fcdb59a7/attachment-0003.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chirp.hg_1837.patch
Type: text/x-patch
Size: 2429 bytes
Desc: not available
Url : http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20130203/fcdb59a7/attachment-0004.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chirp.hg_1838.patch
Type: text/x-patch
Size: 770 bytes
Desc: not available
Url : http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20130203/fcdb59a7/attachment-0005.bin 


More information about the chirp_devel mailing list