[chirp_devel] [PATCH] [ft-7900] fix upload error after clone #597

Jens Jensen
Wed Jan 8 18:58:31 PST 2014


# HG changeset patch
# User Jens Jensen <kd4tjx at yahoo.com>
# Date 1389236301 21600
#      Wed Jan 08 20:58:21 2014 -0600
# Node ID 3162c7d7315d7fe7a942ca79167070139f8bfee6
# Parent  2d995594800cceebb8da5491a43bcf57c12f5164
[ft-7900] fix upload error after clone #597

There seems to be an extra byte of write/ack. Setting block lengths properly seems to fix.

diff -r 2d995594800c -r 3162c7d7315d chirp/ft7800.py
--- a/chirp/ft7800.py	Sun Jan 05 16:31:54 2014 -0600
+++ b/chirp/ft7800.py	Wed Jan 08 20:58:21 2014 -0600
@@ -441,7 +441,8 @@
 
     _model = "AH016"
     _memsize = 31561
-
+    _block_lengths = [8, 31552, 1]
+    
     def get_bank_model(self):
         return FT7800BankModel(self)
 
@@ -455,6 +456,7 @@
             self._wipe_memory_banks(memory)
         FTx800Radio.set_memory(self, memory)
 
+ at directory.register
 class FT7900Radio(FT7800Radio):
     """Yaesu FT-7900"""
     MODEL = "FT-7900"



More information about the chirp_devel mailing list