incr kb missing log interval
This commit is contained in:
parent
ea23bfa976
commit
ac544c1790
|
|
@ -23,7 +23,7 @@ char cardkb_read() {
|
|||
// prevent endless logging of errors
|
||||
if (!present) {
|
||||
unsigned long now = millis();
|
||||
if (now - lastRetry < 1000) return 0;
|
||||
if (now - lastRetry < 10000) return 0;
|
||||
lastRetry = now;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue