Warnings cleared

pull/94/head
erikkaashoek 2 years ago
parent d76dc3350a
commit 16f52f9fd5

@ -7809,7 +7809,9 @@ void calibrate(void)
#endif #endif
reset_calibration(); reset_calibration();
in_calibration = true; in_calibration = true;
#ifdef TINYSA4
int current_correction_calibration = 0; int current_correction_calibration = 0;
#endif
for (calibration_stage = CS_NORMAL; calibration_stage < CS_MAX ; calibration_stage++) { for (calibration_stage = CS_NORMAL; calibration_stage < CS_MAX ; calibration_stage++) {
for (int k = 0; k<3; k++) { // max 3 retries for (int k = 0; k<3; k++) { // max 3 retries
float offset = 0.0; float offset = 0.0;
@ -7998,7 +8000,9 @@ low_level:
k = 3; k = 3;
} }
} }
#ifdef TINYSA4
done: done:
#endif
setting.below_IF = S_AUTO_OFF; setting.below_IF = S_AUTO_OFF;
in_calibration = false; in_calibration = false;
#ifdef TINYSA4 #ifdef TINYSA4

@ -617,6 +617,7 @@ uint16_t ADF4351_get_modulo(void)
void ADF4351_spur_mode(int S) void ADF4351_spur_mode(int S)
{ {
(void) S;
// noiseMode = S; // noiseMode = S;
} }

@ -1801,6 +1801,7 @@ static UI_FUNCTION_CALLBACK(menu_input_curve_prepare_cb)
} }
} }
#ifdef TINYSA3 #ifdef TINYSA3
#if 0 // Not enabled currently
static UI_FUNCTION_CALLBACK(menu_high_curve_prepare_cb) static UI_FUNCTION_CALLBACK(menu_high_curve_prepare_cb)
{ {
(void)item; (void)item;
@ -1818,7 +1819,7 @@ static UI_FUNCTION_CALLBACK(menu_high_curve_prepare_cb)
menu_push_submenu(menu_curve); menu_push_submenu(menu_curve);
} }
} }
#endif
#endif #endif
#if 0 #if 0
static UI_FUNCTION_CALLBACK(menu_lna_curve_prepare_cb) static UI_FUNCTION_CALLBACK(menu_lna_curve_prepare_cb)

Loading…
Cancel
Save

Powered by TurnKey Linux.