Skip to content

Commit 7b4b42a

Browse files
authored
Correct indentation (#190)
Compilation warning: 265 | continue;
1 parent 8ee8935 commit 7b4b42a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ModbusTCPTemplate.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ void ModbusTCPTemplate<SERVER, CLIENT>::task() {
262262
if (__swap_16(_MBAP.protocolId) != 0) { // Check if MODBUSIP packet. __swap is usless there.
263263
while (tcpclient[n]->available()) // Drop all incoming if wrong packet
264264
tcpclient[n]->read();
265-
continue;
265+
continue;
266266
}
267267
_len = __swap_16(_MBAP.length);
268268
_len--; // Do not count with last byte from MBAP
@@ -568,4 +568,4 @@ ModbusTCPTemplate<SERVER, CLIENT>::~ModbusTCPTemplate() {
568568
delete tcpclient[i];
569569
tcpclient[i] = nullptr;
570570
}
571-
}
571+
}

0 commit comments

Comments
 (0)