From 16f52f9fd5acd6bd170d2918dd61e3f79a1f2c5e Mon Sep 17 00:00:00 2001 From: erikkaashoek Date: Thu, 7 Dec 2023 16:29:52 +0100 Subject: [PATCH] Warnings cleared --- sa_core.c | 4 ++++ si4468.c | 1 + ui.c | 3 ++- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/sa_core.c b/sa_core.c index 1fb77e4..d79e6d7 100644 --- a/sa_core.c +++ b/sa_core.c @@ -7809,7 +7809,9 @@ void calibrate(void) #endif reset_calibration(); in_calibration = true; +#ifdef TINYSA4 int current_correction_calibration = 0; +#endif for (calibration_stage = CS_NORMAL; calibration_stage < CS_MAX ; calibration_stage++) { for (int k = 0; k<3; k++) { // max 3 retries float offset = 0.0; @@ -7998,7 +8000,9 @@ low_level: k = 3; } } +#ifdef TINYSA4 done: +#endif setting.below_IF = S_AUTO_OFF; in_calibration = false; #ifdef TINYSA4 diff --git a/si4468.c b/si4468.c index ef92f46..0a8b13d 100644 --- a/si4468.c +++ b/si4468.c @@ -617,6 +617,7 @@ uint16_t ADF4351_get_modulo(void) void ADF4351_spur_mode(int S) { + (void) S; // noiseMode = S; } diff --git a/ui.c b/ui.c index 720b729..3cdbcfd 100644 --- a/ui.c +++ b/ui.c @@ -1801,6 +1801,7 @@ static UI_FUNCTION_CALLBACK(menu_input_curve_prepare_cb) } } #ifdef TINYSA3 +#if 0 // Not enabled currently static UI_FUNCTION_CALLBACK(menu_high_curve_prepare_cb) { (void)item; @@ -1818,7 +1819,7 @@ static UI_FUNCTION_CALLBACK(menu_high_curve_prepare_cb) menu_push_submenu(menu_curve); } } - +#endif #endif #if 0 static UI_FUNCTION_CALLBACK(menu_lna_curve_prepare_cb)