aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/common/src/Core/main.c3
-rw-r--r--src/glutt-o-logique/analog_input.c4
2 files changed, 3 insertions, 4 deletions
diff --git a/src/common/src/Core/main.c b/src/common/src/Core/main.c
index be0f5ee..8cce8da 100644
--- a/src/common/src/Core/main.c
+++ b/src/common/src/Core/main.c
@@ -243,6 +243,9 @@ static void launcher_task(void __attribute__ ((unused))*pvParameters)
if (swr_error_counter > SWR_ERROR_COUNTER_MAX) {
swr_error_counter = SWR_ERROR_COUNTER_MAX;
+ if (!swr_error_flag) {
+ usart_debug("Set SWR error\r\n");
+ }
swr_error_flag = 1;
}
}
diff --git a/src/glutt-o-logique/analog_input.c b/src/glutt-o-logique/analog_input.c
index 307eff1..dba6673 100644
--- a/src/glutt-o-logique/analog_input.c
+++ b/src/glutt-o-logique/analog_input.c
@@ -113,10 +113,6 @@ int analog_measure_swr(int *forward_mv, int* reflected_mv)
*forward_mv = swr_fwd;
*reflected_mv = swr_refl;
- usart_debug("RAW Meas %d mV - %d mV\r\n",
- swr_fwd,
- swr_refl);
-
return 1;
}