remove unsued debug

This commit is contained in:
King Kévin 2022-07-11 16:41:37 +02:00
parent 03e6875a94
commit 2ffbe5da77
1 changed files with 2 additions and 0 deletions

2
main.c
View File

@ -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