remove unsued debug
This commit is contained in:
parent
03e6875a94
commit
2ffbe5da77
2
main.c
2
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");
|
puts("loop\r\n");
|
||||||
while (true) {
|
while (true) {
|
||||||
IWDG_KR = IWDG_KR_KEY_REFRESH; // reset watchdog
|
IWDG_KR = IWDG_KR_KEY_REFRESH; // reset watchdog
|
||||||
|
/*
|
||||||
if (i2c_transaction_new) { // an I²C transaction started
|
if (i2c_transaction_new) { // an I²C transaction started
|
||||||
i2c_transaction_new = false; // clear flag
|
i2c_transaction_new = false; // clear flag
|
||||||
if (i2c_input_new) {
|
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");
|
puts("I²C read\r\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
if (action) { // something has been performed, check if other flags have been set meanwhile
|
if (action) { // something has been performed, check if other flags have been set meanwhile
|
||||||
action = false; // clear flag
|
action = false; // clear flag
|
||||||
} else { // nothing down
|
} else { // nothing down
|
||||||
|
|
Loading…
Reference in New Issue