From 2ffbe5da774e8d74d2ea2f4d8d9c0c0fb6ebf066 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Mon, 11 Jul 2022 16:41:37 +0200 Subject: [PATCH] remove unsued debug --- main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.c b/main.c index a186170..5c1c08e 100644 --- a/main.c +++ b/main.c @@ -418,6 +418,7 @@ level pulse on the Hot Plug Detect pin. This pulse shall be at least 100 msec. puts("loop\r\n"); while (true) { IWDG_KR = IWDG_KR_KEY_REFRESH; // reset watchdog +/* if (i2c_transaction_new) { // an I²C transaction started i2c_transaction_new = false; // clear flag if (i2c_input_new) { @@ -426,6 +427,7 @@ level pulse on the Hot Plug Detect pin. This pulse shall be at least 100 msec. puts("I²C read\r\n"); } } +*/ if (action) { // something has been performed, check if other flags have been set meanwhile action = false; // clear flag } else { // nothing down