diff --git a/sa_core.c b/sa_core.c index f898c3b..59c1518 100644 --- a/sa_core.c +++ b/sa_core.c @@ -772,7 +772,7 @@ void apply_settings(void) actualStepDelay = 0; else actualStepDelay = setting.step_delay; - } else if (setting.step_delay < 2){ + } else if (setting.step_delay <= 2){ if (actual_rbw >= 191.0) actualStepDelay = 280; else if (actual_rbw >= 142.0) actualStepDelay = 350; else if (actual_rbw >= 75.0) actualStepDelay = 450; @@ -861,7 +861,7 @@ void set_freq(int V, unsigned long freq) if (real_old_freq[V] >= 480000000) // 480MHz, high band delta = delta >> 1; if (delta > 0 && delta < 80000) { // use frequency deviation registers - if (1) { + if (0) { if (real_old_freq[V] >= 480000000) shell_printf("%d: Offs %q HW %d\r\n", SI4432_Sel, (uint32_t)(real_old_freq[V]+delta*2), real_old_freq[V]); else diff --git a/si4432.c b/si4432.c index bab4a4d..416f19b 100644 --- a/si4432.c +++ b/si4432.c @@ -340,7 +340,7 @@ void SI4432_Set_Frequency ( uint32_t Freq ) { // int mode = SI4432_Read_Byte(0x02) & 0x03; // SI4432_Write_Byte(0x07, 0x02); // Switch to tune mode uint8_t hbsel; - if (1) shell_printf("%d: Freq %q\r\n", SI4432_Sel, Freq); + if (0) shell_printf("%d: Freq %q\r\n", SI4432_Sel, Freq); if (Freq >= 480000000U) { hbsel = 1<<5; Freq>>=1;