Skip to content

Commit

Permalink
evse.cpp: MQTT remove duplicate mg_timer_add
Browse files Browse the repository at this point in the history
  • Loading branch information
dingo35 committed Aug 16, 2024
1 parent 810ad12 commit 06b4734
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions SmartEVSE-3/src/evse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5405,8 +5405,6 @@ void onWifiEvent(WiFiEvent_t event) {
if (!MQTTtimer) {
MQTTtimer = mg_timer_add(&mgr, 3000, MG_TIMER_REPEAT | MG_TIMER_RUN_NOW, timer_fn, &mgr);
}

mg_timer_add(&mgr, 3000, MG_TIMER_REPEAT | MG_TIMER_RUN_NOW, timer_fn, &mgr);
#endif
mg_log_set(MG_LL_NONE);
//mg_log_set(MG_LL_VERBOSE);
Expand Down

0 comments on commit 06b4734

Please sign in to comment.