Skip to content

Commit

Permalink
DTU restart: switch to restart helper
Browse files Browse the repository at this point in the history
  • Loading branch information
schlimmchen committed Sep 23, 2024
1 parent 4b25aa1 commit 5d34b24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PowerLimiterInverter.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "Utils.h"
#include "RestartHelper.h"
#include "MessageOutput.h"
#include "PowerLimiterInverter.h"
#include "PowerLimiterBatteryInverter.h"
Expand Down Expand Up @@ -88,7 +88,7 @@ bool PowerLimiterInverter::update()
if (_updateTimeouts >= 20) {
MessageOutput.printf("%s restarting system since inverter is "
"unresponsive\r\n", _logPrefix);
Utils::restartDtu();
RestartHelper.triggerRestart();
}

return reset();
Expand Down

0 comments on commit 5d34b24

Please sign in to comment.