Hi Jim in 817 driver I have "contrast" setting which is defined as subtract 1, add 1. Have a look there ;)
73 de IZ3GME Marco
On 06/01/2013 10:32 PM, Jim Unroe wrote:
Hi all,
I've been messing around with adding band limit settings for the Baofeng UV-B5. I basically stole the code from the UV-5R driver to get started. Then I changed the structure to use lbcd instead of bbcd because the bytes are reversed.
But unlike the UV-5R settings being 3 digits, the UV-B5 show 4 digits. It works this way but it really needs to be 3 digits.
I assume that some helpers need to be defined to divide by 10 and multiply by 10 but my attempts to look through existing code to get something that works has eluded me.
I'm not seeing the solution so any advice to get me pointed in the right direction would be appreciated.
Thanks, 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