New Model #9077closed
Add Baofeng GT-5R
Updated by Jim Unroe over 2 years ago
- Assignee set to Jim Unroe
This patch does not work as intended.
vhftx = [144000000, 148000000] uhftx = [420000000, 450000000] def set_memory(self, mem): # If memory is outside the TX limits, the radio will refuse # transmit. Radioddity asked for us to enforce this behavior # in chirp for consistency. if mem.freq not in self.vhftx and mem.freq not in self.uhftx: LOG.info('Memory frequency outside TX limits of radio; ' 'forcing duplex=off')
vhftx and uhftx are lists with only 2 elements each.
mem.freq not in self.vhftx is always True except when 144000000 or 148000000
mem.freq not in self.uhftx is always True except when 420000000 or 450000000
This needs to be a VHF frequency >= 144000000 and < 148000000
and a UHF frequency >= 420000000 and < 450000000
I will work up a patch and submit it.