[chirp_devel] [PATCH 2 of 2] [ft60] Fix off-by-order-of-magnitude in frequency encoding. #1273
Tom Hayward
Wed Nov 27 09:17:30 PST 2013
# HG changeset patch
# User Tom Hayward <tom at tomh.us>
# Date 1385572552 28800
# Node ID 08504fccb356540010fe5cffc7fee4a76015794f
# Parent 93f5de5142ed81f73d43d6a6bcecf964a24dfcc5
[ft60] Fix off-by-order-of-magnitude in frequency encoding. #1273
diff -r 93f5de5142ed -r 08504fccb356 chirp/ft60.py
--- a/chirp/ft60.py Wed Nov 27 09:13:18 2013 -0800
+++ b/chirp/ft60.py Wed Nov 27 09:15:52 2013 -0800
@@ -97,7 +97,7 @@
def _encode_freq(freq):
freqraw = freq / 10000
- if ((freq / 1000) % 10) == 5:
+ if ((freq / 100) % 10) == 5:
freqraw += 800000
if chirp_common.is_fractional_step(freq):
freqraw += 400000
More information about the chirp_devel
mailing list