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

IZ3GME Marco
Mon Jan 28 01:16:29 PST 2013


Hi Jim
I really dont like this solution, did you try with integers as Andrew 
suggested?

73 de IZ3GME Marco

On 27/01/2013 16:58, Jim Unroe wrote:
> All,
>
> I gave up on using the RadioSettingValueFloat(RadioSettingValue)
> feature. So none of that code supplied by Dan has been included.
>
> Being able to enter a floating point frequency looked nice but even
> after quite a bit of research, I wasn't able to overcome the floating
> point to binary conversion error (setting a frequency of 146.940 always
> resulted in 146.390 (actually 146.39999 but I have step set to 10.0KHz)).
>
> I think what I have provided here is very usable. I wish there was a way
> to limit the 100's of MHz selections to 1, 4 & 5 and the 100's of Hz
> settings to 0, 2, 5 and 7. At list I have them limited to their lowest
> and highest settings.
>
> I'd be willing to revisit this, but for now I'd like to review my todo
> list and see what additional things I can add to CHIRP for the UV-5R.
>
> Thanks for everyone's help. I learned a lot from everyone.
>
> Jim Unroe
>
>
>
> _______________________________________________
> 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
>




More information about the chirp_devel mailing list