Skip to content

Commit e9cc89c

Browse files
committed
Update arduinoSerial.hpp
1 parent ca8a614 commit e9cc89c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arduinoSerial.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ arduinoSerial::~arduinoSerial(){
100100
After calling this function, begin() must be called again.
101101
*/
102102
void arduinoSerial::openPort(std::string port){
103-
close(this->fd); // Close the current serial port
104103
this->ttyName = port;
105104
if(this->debug){ std::cout << "openPort(): ttyName = " << this->ttyName << "\n"; }
106105
}

0 commit comments

Comments
 (0)