14 Jan
2013
14 Jan
'13
9:24 a.m.
I can't understand which is the reason not to define step as
u8 step:4, unknown:4;
73 de IZ3GME Marco
On 14/01/2013 03:50, Jim Unroe wrote:
Les, Half way there...
On Sun, Jan 13, 2013 at 8:52 PM, Les Niles <les@2pi.org mailto:les@2pi.org> wrote:
Jim, In that case, what I suggested won't work. Especially if the mapping is non-uniform, that is, the freq steps are all integer multiples of the smallest step. Maybe you just need to divide the index by 16 when you access STEP_LIST:
RadioSettingValueList(STEP_LIST, STEP_LIST[self._memobj.vfoa.step/16])
The "STEP_LIST[self._memobj.vfoa.step/16])" works for reading the values from the UV-5R. Now I just have to figure out the right way to *16 the other direction.
Jim
chirp_devel mailing list chirp_devel@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_devel Developer docs: http://chirp.danplanet.com/projects/chirp/wiki/Developers