Skip to content

Commit 46823ab

Browse files
authored
Merge pull request #11 from Northpower/master
Fixes #10 modified so parity bit can be N in Rtu
2 parents f46453b + ddebf7c commit 46823ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rtulayer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ namespace Modbus {
247247
// ---------------------------------------------------------------------------
248248
// static
249249
char RtuLayer::parity (const std::string & settings) {
250-
char p = 'E';
250+
char p = 'N';
251251
size_t s = settings.length();
252252

253253
if (s >= 2) {

0 commit comments

Comments
 (0)