Skip to content

Commit 9f46927

Browse files
authored
fix suggested parentheses warning (#697)
although C++ operator precedence would be correct in this case
1 parent 446f157 commit 9f46927

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Homie/Boot/BootNormal.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ void BootNormal::loop() {
123123
}
124124

125125
for (HomieNode* iNode : HomieNode::nodes) {
126-
if (iNode->runLoopDisconnected || (Interface::get().getMqttClient().connected()) && _mqttConnectNotified ) iNode->loop();
126+
if (iNode->runLoopDisconnected || (Interface::get().getMqttClient().connected() && _mqttConnectNotified)) iNode->loop();
127127
}
128128
if (_mqttReconnectTimer.check()) {
129129
_mqttConnect();

0 commit comments

Comments
 (0)