From 8234ea7163fae0f4f8f70acac768fde79d065fc2 Mon Sep 17 00:00:00 2001 From: TT Date: Sun, 8 Sep 2019 18:42:17 +0900 Subject: [PATCH] adjust delay to reduce noise --- main.c | 2 +- si5351.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 52300c2..6f5e6b0 100644 --- a/main.c +++ b/main.c @@ -258,7 +258,7 @@ static void cmd_reset(BaseSequentialStream *chp, int argc, char *argv[]) ; } -#define DELAY_ON_GAIN_CHANGE 3 +#define DELAY_ON_GAIN_CHANGE 6 int set_frequency(int freq) { diff --git a/si5351.c b/si5351.c index 4cba17c..cfec0a2 100644 --- a/si5351.c +++ b/si5351.c @@ -295,7 +295,7 @@ si5351_set_frequency(int channel, int freq, uint8_t drive_strength) int current_band = -1; -#define DELAY_NORMAL 1 +#define DELAY_NORMAL 2 #define DELAY_BANDCHANGE 1 #define DELAY_LOWBAND 1