[chirp_devel] [PATCH] [MURS-V1] Add Support for BTech MURS-V1
Dan Smith
Fri Feb 9 15:18:25 PST 2018
> + if mem.freq != int(MURS_FREQS[mem.number - 1] * 1000000):
> + msg = 'Memory location cannot change frequency'
> + raise errors.InvalidDataError(msg)
> + return MURSV1.set_memory(self, mem)
I didn't catch this when I looked at this initially, but you don't need anything after the raise here. Once you raise, you're exploding and you cascade back to your caller, so the return will never be run.
I'm making some tweaks for the tests per our discussion, so I'll clean this up at the same time.
Thanks!
--Dan
More information about the chirp_devel
mailing list