Commit 43071ef7e49aac8d2243ba8d284269c41d4f1db9

Authored by Sibert Declercq
1 parent 8808d3b6

Fixed captial inconsistency of the GetState function

include/CppLinuxSerial/SerialPort.hpp
... ... @@ -175,7 +175,7 @@ namespace mn {
175 175  
176 176 /// \brief Use to get the state of the serial port
177 177 /// \returns The state of the serial port
178   - State getState();
  178 + State GetState();
179 179  
180 180 private:
181 181  
... ...
src/SerialPort.cpp
... ... @@ -638,7 +638,7 @@ namespace CppLinuxSerial {
638 638 return ret;
639 639  
640 640 }
641   - State SerialPort::getState() {
  641 + State SerialPort::GetState() {
642 642 return state_;
643 643 }
644 644  
... ...