Hi Ron,
> Attached is my driver for the Wouxun KG-UV6D.
Has anyone else (Ron, you included) looked at this code and compared it
to others to see if it's an obvious clone of something else? It didn't
appear to be obvious to me. Jim?
This should be indented to the same level as the code it pertains to.
> + rs = RadioSetting("ponmsg", "Poweron message",
> + RadioSettingValueList(
> + PONMSG_LIST,
> + PONMSG_LIST[self._memobj.settings.ponmsg]))
> + cfg_grp.append(rs)
> + rs = RadioSetting("voice", "Voice Guide", RadioSettingValueBoolean(
> + self._memobj.settings.voice))
> + cfg_grp.append(rs)
> + rs = RadioSetting("timeout", "Timeout Timer",
> + RadioSettingValueInteger(15, 900,
> + self._memobj.settings.timeout * 15, 15))
> + cfg_grp.append(rs)
> + rs = RadioSetting("toalarm", "Timeout Alarm",
> + RadioSettingValueInteger(0, 10,
> + self._memobj.settings.toalarm))
> + cfg_grp.append(rs)
> + rs = RadioSetting("channel_menu", "Menu available in channel mode",
> + RadioSettingValueBoolean(
> + self._memobj.settings.channel_menu))
> + cfg_grp.append(rs)
> + rs = RadioSetting("power_save", "Power save",
> + RadioSettingValueBoolean(
> + self._memobj.settings.power_save))
> + cfg_grp.append(rs)
Looks like some alignment issues here. Just to be clear, each indent
level should be four spaces.
Again, thanks a lot. This looks really close and I'll be glad to get
this into the tree soon!