# HG changeset patch # User Tom Hayward tom@tomh.us # Date 1419370038 28800 # Tue Dec 23 13:27:18 2014 -0800 # Node ID 4fe5d5d17612aa7a34f12be1afe7452dd57b4553 # Parent 1d3eb2711f911153c1a786889aba4cbb59985c21 ap510: Fix path setting off-by-one. #2095
diff -r 1d3eb2711f91 -r 4fe5d5d17612 chirp/ap510.py --- a/chirp/ap510.py Sat Dec 20 07:47:43 2014 -0800 +++ b/chirp/ap510.py Tue Dec 23 13:27:18 2014 -0800 @@ -436,7 +436,7 @@ 'busywait'): setattr(self._mmap, name, boolstr(setting.value)) elif name == "path": - self._mmap.path = PATH.index(str(setting.value)) + 1 + self._mmap.path = PATH.index(str(setting.value)) elif name == "table": self.set_symbol(table=setting.value) elif name == "symbol":