On Fri, Jan 31, 2014 at 6:41 PM, Jim Unroe <rock.unroe@gmail.com> wrote:



On Fri, Jan 31, 2014 at 9:43 AM, Dan Smith <dsmith@danplanet.com> wrote:


Can you give a few details of the differences? If it's, say, five bytes
in memory that do different things then it might be best to keep the
drivers unified and call out the differences. If it's fifty, then
separate seems better. I'm sure you're making the right call here by
having them separate, but we should just circle around and make sure
that's what we want to do. It would be unfortunate to have to maintain
two pieces of mostly-identical code going forward.


There is only 1 conflict in the 'settings' structure.

  u8 autolk;  # UV-5R/UV-82/F-11

  u8 voxenable;  # UV-6

And then the one other byte is identified where is wasn't before.

The rest would be just be making sure the settings were the right ones for each radio type.

Jim


I need to start thinking about sending this radio back to it's owner.

I've attached what I've done in the hope that it would help with giving me direction.

Thanks,
Jim