Skip to content

Commit 1f23c8f

Browse files
authored
Unix serial passthrough: Apply patch by no-sense, fixes #6972.
1 parent 06f3706 commit 1f23c8f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/unix/unix_serial_passthrough.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,10 @@ plat_serpt_set_params(void *priv)
223223
#endif
224224
}
225225
term_attr.c_iflag &= ~(IXON | IXOFF);
226+
227+
/* Enable receiver */
228+
term_attr.c_cflag |= CREAD;
229+
226230
tcsetattr(dev->master_fd, TCSANOW, &term_attr);
227231
#undef BAUDRATE_RANGE
228232
}

0 commit comments

Comments
 (0)