Skip to content

Commit

Permalink
event log for firmware update
Browse files Browse the repository at this point in the history
  • Loading branch information
omersiar committed Sep 3, 2018
1 parent b9678a2 commit 86a246e
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 11 deletions.
2 changes: 0 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ void ICACHE_RAM_ATTR loop() {
previousMillis = millis();
activateRelay = false;
deactivateRelay = true;
writeEvent("INFO", "sys", "Activated Relay", "");
} else if((currentMillis - previousMillis >= activateTime) && (deactivateRelay)) {
#ifdef DEBUG
Serial.println(currentMillis);
Expand All @@ -209,7 +208,6 @@ void ICACHE_RAM_ATTR loop() {
#endif
digitalWrite(relayPin, relayType);
deactivateRelay = false;
writeEvent("INFO", "sys", "De-Activated Relay", "");
}

if (formatreq) {
Expand Down
Loading

0 comments on commit 86a246e

Please sign in to comment.