From 2f15160a98793d3cccbf38a9388432e83cf8e607 Mon Sep 17 00:00:00 2001 From: SW-Nico <stbauer.privat@web.de> Date: Thu, 1 Aug 2024 14:42:09 +0200 Subject: [PATCH] remove of double if() --- src/VictronMppt.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/VictronMppt.cpp b/src/VictronMppt.cpp index aedc7b272..d123a72e5 100644 --- a/src/VictronMppt.cpp +++ b/src/VictronMppt.cpp @@ -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();