[chirp_devel] [PATCH] [uv5r] add STE (squelch tail elimination) settings
Dan Smith
Sun Jan 6 10:34:38 PST 2013
> +RPSTE_LIST = ["%s" % x for x in range(1, 11, 1)]
Look at you, getting all fancy! :)
Note that a step of 1 is the default, so you don't need to explicitly
provide it as the third argument (although it doesn't hurt anything of
course).
> +RPSTE_LIST.insert(0, "OFF")
> +STEDELAY_LIST = ["%s ms" % x for x in range(100, 1100, 100)]
> +STEDELAY_LIST.insert(0, "OFF")
Note that you could make this kind of thing a little more integrated by
doing this:
STEDELAY_LIST = ["Off"] + ["%s ms" % x for x in range(100, 1100, 100)]
But it's fine as-is of course.
Applied, thanks Jim!
--
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/20130106/74d84a05/attachment-0001.bin
More information about the chirp_devel
mailing list