We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a4b282 commit 65a917fCopy full SHA for 65a917f
include/CppLinuxSerial/SerialPort.hpp
@@ -15,10 +15,11 @@
15
#include <string>
16
#include <fstream> // For file I/O (reading/writing to COM port)
17
#include <sstream>
18
-#include <termios.h> // Required for speed_t
+// #include <termios.h> // This used to be included, but caused issues when variable baud rate support was added
19
// #include <asm/termios.h> // Terminal control definitions (struct termios)
20
#include <vector>
21
#include <asm/ioctls.h>
22
+#include <asm/termbits.h> // Required for speed_t
23
// uint8_t
24
#include <cstdint>
25
src/SerialPort.cpp
@@ -8,7 +8,6 @@
8
//! See README.rst in repo root dir for more info.
9
10
// System includes
11
-#include <asm/termbits.h>
12
#include <iostream>
13
14
#include <stdio.h> // Standard input/output definitions
0 commit comments