Skip to content

Commit

Permalink
remove of double if()
Browse files Browse the repository at this point in the history
  • Loading branch information
SW-Niko committed Aug 1, 2024
1 parent eb60db8 commit 2f15160
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/VictronMppt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ bool VictronMpptClass::isDataValid() const

for (auto const& upController: _controllers) {
if (upController->isDataValid()) { return true; }
if (upController->isDataValid()) { return true; }
}

return !_controllers.empty();
Expand Down

0 comments on commit 2f15160

Please sign in to comment.