Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 304912a

Browse filesBrowse files
authored
correction of TCP debug (#326)
used MODBUSRTU_DEBUG insted of MODBUSIP_DEBUG
1 parent 16a4094 commit 304912a
Copy full SHA for 304912a

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/ModbusTCPTemplate.h

Copy file name to clipboardExpand all lines: src/ModbusTCPTemplate.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ void ModbusTCPTemplate<SERVER, CLIENT>::task() {
227227
delete currentClient;
228228
continue;
229229
}
230-
#if defined(MODBUSRTU_DEBUG)
230+
#if defined(MODBUSIP_DEBUG)
231231
Serial.println("IP: Connected");
232232
#endif
233233
if (cbConnect == nullptr || cbConnect(currentClient->remoteIP())) {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.