From cf89c9858865f34601f628ebf8585b6c745ef927 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sat, 20 Aug 2016 20:50:41 +0200 Subject: Remove temperature print on button press --- src/common/src/Core/main.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/common') diff --git a/src/common/src/Core/main.c b/src/common/src/Core/main.c index fa7f057..be0f5ee 100644 --- a/src/common/src/Core/main.c +++ b/src/common/src/Core/main.c @@ -274,16 +274,6 @@ static void detect_button_press(void __attribute__ ((unused))*pvParameters) last_pin_high_count != pin_high_count) { tm_trigger_button = 1; usart_debug_puts("Bouton bleu\r\n"); - - if (temperature_valid()) { - float temp = temperature_get(); - int temp_decidegrees = temp * 10.0f; - - usart_debug("Temperature %d.%01d\r\n", temp_decidegrees / 10, temp_decidegrees % 10); - - } else { - usart_debug_puts("No temp\r\n"); - } } else if (pin_high_count == 0 && last_pin_high_count != pin_high_count) { -- cgit v1.2.3