[chirp_devel] [PATCH 1 of 3] Add import logic helper to convert odd split to offset. #185

Dan Smith
Thu Feb 7 06:41:10 PST 2013


> +                if mem.offset > limit or mem.offset * -1 > limit:

How about:

if abs(mem.offset) > limit

?

-- 
Dan Smith
www.danplanet.com
KK7DS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
Url : http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20130207/5c131d12/attachment-0001.bin 


More information about the chirp_devel mailing list