[chirp_devel] [PATCH 2 of 2] [ft8x7] make use of signed integer where needed in settings

Marco Filippi IZ3GME
Thu May 9 05:58:20 PDT 2013


# HG changeset patch
# User Marco Filippi <iz3gme.marco at gmail.com>
# Date 1368103650 -7200
# Node ID 7b06ae4691d0e131596655fbd6a2e67029207227
# Parent  f161e27eb3dd26f857e92b5c85d579fcde78ac31
[ft8x7] make use of signed integer where needed in settings
fix #863

diff --git a/chirp/ft817.py b/chirp/ft817.py
--- a/chirp/ft817.py
+++ b/chirp/ft817.py
@@ -159,12 +159,12 @@
                 pkt_mic:7;
             u8  unknown14:1,
                 pkt9600_mic:7;
-            ul16 dig_shift;
-            ul16 dig_disp;
-            u8  r_lsb_car;
-            u8  r_usb_car;
-            u8  t_lsb_car;
-            u8  t_usb_car;
+            il16 dig_shift;
+            il16 dig_disp;
+            i8  r_lsb_car;
+            i8  r_usb_car;
+            i8  t_lsb_car;
+            i8  t_usb_car;
             u8  unknown15:2,
                 menu_item:6;
             u8  unknown16:4,
diff --git a/chirp/ft857.py b/chirp/ft857.py
--- a/chirp/ft857.py
+++ b/chirp/ft857.py
@@ -157,12 +157,12 @@
                 pkt1200:7;
             u8  unknown15:1,
                 pkt9600:7;
-            ul16 dig_shift;
-            ul16 dig_disp;
-            u8  r_lsb_car;
-            u8  r_usb_car;
-            u8  t_lsb_car;
-            u8  t_usb_car;
+            il16 dig_shift;
+            il16 dig_disp;
+            i8  r_lsb_car;
+            i8  r_usb_car;
+            i8  t_lsb_car;
+            i8  t_usb_car;
             u8  unknown16:1,
                 menu_item:7;
             u8  unknown17[5];



More information about the chirp_devel mailing list