[chirp_devel] [PATCH] [vx-3] fix exception when importing into empty memories #1445
# HG changeset patch # User Jens Jensen kd4tjx@yahoo.com # Date 1392791465 21600 # Wed Feb 19 00:31:05 2014 -0600 # Node ID dbbb7899d543103c5d45cc41aa35c0a3b706f7e2 # Parent 5406f17c38f6ef74f6cac8fb8bcc84b7f7042a4b [vx-3] fix exception when importing into empty memories #1445
Introduced bug in earlier patch where channel struct field unknown7 was split into two subfields, unknown7a and unknown7b. This should fix.
diff -r 5406f17c38f6 -r dbbb7899d543 chirp/vx3.py --- a/chirp/vx3.py Wed Feb 05 17:21:30 2014 -0600 +++ b/chirp/vx3.py Wed Feb 19 00:31:05 2014 -0600 @@ -334,7 +334,8 @@ #on the radio, some of these fields are unknown mem.name = [0xFF for _i in range(0, 6)] mem.unknown5 = 0x0D #not sure what this is - mem.unknown7 = 0x01 #this likely is part of autostep + mem.unknown7a = 0b0 + mem.unknown7b = 0b1 mem.automode = 0x01 #autoselect mode
@directory.register
participants (1)
-
Jens Jensen