Browse code

fix writeMemorySettings bug

Gandolf authored on 11/30/2019 05:18:16
Showing 1 changed files
... ...
@@ -308,10 +308,10 @@ def writeMemorySettings(lSettings):
308 308
         if dItem == None:
309 309
             continue
310 310
         try:
311
-            # Set current channel to memory location being set.
312
-            ft991.setMemoryLocation(int(dItem['memloc']))
313 311
             # Set the parameters for the memory location.
314 312
             ft991.setMemory(dItem)
313
+            # Set current channel to memory location being set.
314
+            ft991.setMemoryLocation(int(dItem['memloc']))
315 315
             # Set CTCSS tone for memory channel.
316 316
             ft991.setCTCSS(dItem['tone'])
317 317
             # Set DCS code for memory channel.