mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-19 15:05:36 +02:00
Bug 551458 Fixed distortion produced by serial terminal in Ubuntu
Revert serial.dll as the change does not impact windows Change-Id: I968a3f40e8222a46d077aa5c6fde0a19740bd0a9 Signed-off-by: akhalid8lf <abdullah.dev0@gmail.com>
This commit is contained in:
parent
29369a555c
commit
6fa96ca549
4 changed files with 3 additions and 0 deletions
|
@ -157,6 +157,9 @@ JNIEXPORT jlong JNICALL FUNC(open0)(JNIEnv *env, jobject jobj, jstring portName,
|
|||
|
||||
// ignore parity
|
||||
options.c_iflag |= IGNPAR;
|
||||
|
||||
// turn off those bits in the input flag that fiddle with CR and NL
|
||||
options.c_iflag &= ~(ICRNL | INLCR | IGNCR);
|
||||
|
||||
options.c_cc[VMIN] = 0; // min chars to read
|
||||
options.c_cc[VTIME] = 2; // 10ths second timeout
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Add table
Reference in a new issue