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 ad1c39f

Browse filesBrowse files
authored
- Allow to change MODBUSRTU_TIMEOUT from project (#315)
1 parent 2eb5abe commit ad1c39f
Copy full SHA for ad1c39f

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed

‎src/ModbusSettings.h

Copy file name to clipboardExpand all lines: src/ModbusSettings.h
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,9 @@ Otherwise IP addresses only must be used
104104
#define MODBUSRTU_BROADCAST 0
105105
#define MB_RESERVE 248
106106
#define MB_SERIAL_BUFFER 128
107+
#ifndef MODBUSRTU_TIMEOUT
107108
#define MODBUSRTU_TIMEOUT 1000
109+
#endif
108110
#define MODBUSRTU_MAX_READMS 100
109111
/*
110112
#define MODBUSRTU_REDE

0 commit comments

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