# HG changeset patch # User Jim Unroe # Date 1357095751 18000 # Node ID c23e33d8c35f9e878d214f3335d8b57a0a227dab # Parent 4d56ee7a6e0528df43f561c89efe590e684b6490 [uv5r] Add 'Broadcast FM Radio' Setting Added 'Broadcast FM Radio' Setting for UV-5R Added #seekto 0x0E52; structure required by above #392 diff -r 4d56ee7a6e05 -r c23e33d8c35f chirp/uv5r.py --- a/chirp/uv5r.py Tue Jan 01 17:12:07 2013 -0800 +++ b/chirp/uv5r.py Tue Jan 01 22:02:31 2013 -0500 @@ -84,6 +84,17 @@ u8 roger; } settings[2]; +#seekto 0x0E52; +struct { + u8 disp_ab:1, + unknown1:2, + fmradio:1, + alarm:1, + unknown2:1, + reset:1, + menu:1; +} extra; + #seekto 0x1000; struct { u8 unknown1[8]; @@ -647,6 +658,10 @@ RadioSettingValueBoolean(_settings.autolk)) advanced.append(rs) + rs = RadioSetting("extra.fmradio", "Broadcast FM Radio", + RadioSettingValueBoolean(self._memobj.extra.fmradio)) + advanced.append(rs) + rs = RadioSetting("wtled", "Standby LED Color", RadioSettingValueList(COLOR_LIST, COLOR_LIST[_settings.wtled]))