From 8cf765a7d0e7162e496299ceff36339b5c9a3161 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 23 Mar 2019 08:52:38 -0400 Subject: [PATCH] turned off autoranging on ax5043 to avoid freeze --- afsk/ax5043.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/afsk/ax5043.c b/afsk/ax5043.c index a6ae071e..c4112f6a 100644 --- a/afsk/ax5043.c +++ b/afsk/ax5043.c @@ -222,12 +222,11 @@ int ax5043_init(ax5043_conf_t *conf, uint32_t f_xtal, vco_mode_t vco) { } /* Setup TX only related parameters */ -/* ret = ax5043_conf_tx_path(conf); if (ret) { return ret; } -*/ + /* Set an internal copy for the ax5042_wait_for_transmit function */ __ax5043_conf = conf; @@ -446,10 +445,11 @@ int ax5043_set_tx_freq(ax5043_conf_t *conf, uint32_t freq) { conf->tx_freq = freq; /* If the frequency difference is great enough perform autoranging */ +/* if (freq + 25000000 > prev_freq || freq - 25000000 < prev_freq) { ax5043_autoranging(conf); } - +*/ return PQWS_SUCCESS; }