diff --git a/include/CppLinuxSerial/SerialPort.hpp b/include/CppLinuxSerial/SerialPort.hpp index 3d7d3f0..173166c 100644 --- a/include/CppLinuxSerial/SerialPort.hpp +++ b/include/CppLinuxSerial/SerialPort.hpp @@ -175,7 +175,7 @@ namespace mn { /// \brief Use to get the state of the serial port /// \returns The state of the serial port - State getState(); + State GetState(); private: diff --git a/src/SerialPort.cpp b/src/SerialPort.cpp index e9b9a17..e4595b3 100644 --- a/src/SerialPort.cpp +++ b/src/SerialPort.cpp @@ -638,7 +638,7 @@ namespace CppLinuxSerial { return ret; } - State SerialPort::getState() { + State SerialPort::GetState() { return state_; }