Skip to content

Commit

Permalink
Disabling restart
Browse files Browse the repository at this point in the history
  • Loading branch information
zipou committed Dec 2, 2018
1 parent c35520a commit d7ae122
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/EspGw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ void rfCallback(const char* protocol, const char* message) {

#include <Ticker.h>
Ticker timer1(sendTemperature, TEMP_INTERVAL);
Ticker timer2(restartEsp, RESTART_INTERVAL);
// Ticker timer2(restartEsp, RESTART_INTERVAL);

void setup() {

Expand Down Expand Up @@ -154,7 +154,7 @@ void setup() {
tempChip.init(DHTPIN);
timer1.start();
}
timer2.start();
// timer2.start();

digitalWrite(BUILTIN_LED, LOW);
}
Expand All @@ -163,7 +163,7 @@ void loop() {
if (ENABLE_TEMP_SENSOR) {
timer1.update();
}
timer2.update();
// timer2.update();

if (ENABLE_RF_RECEIVE) {
rf.loop();
Expand Down

0 comments on commit d7ae122

Please sign in to comment.