-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added in termios.h include into SerialPort.hpp to try and fix speed_t…
… undefined issue.
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
/// \file SerialPort.hpp | ||
/// \author Geoffrey Hunter <[email protected]> (www.mbedded.ninja) | ||
/// \created 2014-01-07 | ||
/// \last-modified 2023-02-13 | ||
/// \last-modified 2024-11-16 | ||
/// \brief The main serial port class. | ||
/// \details | ||
/// See README.rst in repo root dir for more info. | ||
|
@@ -15,7 +15,7 @@ | |
#include <string> | ||
#include <fstream> // For file I/O (reading/writing to COM port) | ||
#include <sstream> | ||
// #include <termios.h> // POSIX terminal control definitions (struct termios) | ||
#include <termios.h> // Required for speed_t | ||
// #include <asm/termios.h> // Terminal control definitions (struct termios) | ||
#include <vector> | ||
#include <asm/ioctls.h> | ||
|