aboutsummaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-08-20 20:50:41 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-08-20 20:50:41 +0200
commitcf89c9858865f34601f628ebf8585b6c745ef927 (patch)
treec151f0260459b2ff723af14e589c0a5955eaf52e /src/common
parentb78e2f7d45cf8f1e50db3c8a4ea7821b864b0075 (diff)
downloadglutte-o-matic-cf89c9858865f34601f628ebf8585b6c745ef927.tar.gz
glutte-o-matic-cf89c9858865f34601f628ebf8585b6c745ef927.tar.bz2
glutte-o-matic-cf89c9858865f34601f628ebf8585b6c745ef927.zip
Remove temperature print on button press
Diffstat (limited to 'src/common')
-rw-r--r--src/common/src/Core/main.c10
1 files changed, 0 insertions, 10 deletions
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) {