Fix debugging line
This commit is contained in:
parent
2bc8080e67
commit
132552ab87
@ -63,7 +63,6 @@ void onHostStatusChange() {
|
|||||||
long timeNow = millis();
|
long timeNow = millis();
|
||||||
long changeDiff = timeNow - lastChange;
|
long changeDiff = timeNow - lastChange;
|
||||||
lastChange = timeNow;
|
lastChange = timeNow;
|
||||||
digitalWrite(pinData, digitalRead(pinStatus));
|
|
||||||
if (changeDiff >= 10 && nextKeyReady) {
|
if (changeDiff >= 10 && nextKeyReady) {
|
||||||
nextKeyReady = false;
|
nextKeyReady = false;
|
||||||
Serial.println("Status change with key");
|
Serial.println("Status change with key");
|
||||||
|
Loading…
Reference in New Issue
Block a user