Bug #11786 » kguv920pa-mem-zero.patch
chirp/drivers/kguv920pa.py | ||
---|---|---|
_mem.rxfreq = 0xFFFFFFFF
|
||
return
|
||
# Zero the entire structure and set these fields to default values
|
||
# instead of leaving unused fields as FF
|
||
if _mem.rxfreq & 0xFF000000 == 0xFF000000:
|
||
_mem.set_raw("\x00" * (_mem.size() // 8))
|
||
_mem.unknown2_32 = 0x02
|
||
_mem.mute_mode = 0x01
|
||
_mem.rxfreq = _freq_encode(mem.freq)
|
||
if mem.duplex == "off":
|
||
_mem.txfreq = 0xFFFFFFFF
|
- « Previous
- 1
- 2
- 3
- Next »