From 86423445ae296fe39d4831cc70ced2e444fd11a8 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sat, 3 Sep 2016 23:28:03 +0200 Subject: Add more debugging every 30s --- src/common/src/Core/main.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/common/src/Core/main.c b/src/common/src/Core/main.c index 8cce8da..5edd1f5 100644 --- a/src/common/src/Core/main.c +++ b/src/common/src/Core/main.c @@ -407,6 +407,11 @@ static void gps_monit_task(void __attribute__ ((unused))*pvParameters) { t_gps_print_latch = 1; + + usart_debug("ALIM %d mV\r\n", (int)roundf(1000.0f * analog_measure_12v())); + + const float temp = temperature_get(); + usart_debug("TEMP %d.%02d\r\n", (int)temp, (int)(temp * 100.0f - (int)(temp) * 100.0f)); } if (time.tm_sec % 30 > 0) { -- cgit v1.2.3