Skip to content

Commit

Permalink
Cleaned up warnings from Arduino reset PR
Browse files Browse the repository at this point in the history
  • Loading branch information
shumatech committed Mar 4, 2018
1 parent 6fcc373 commit 2c1de9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/WinSerialPort.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ void
WinSerialPort::setDTR(bool dtr)
{
if (_handle == INVALID_HANDLE_VALUE)
return -1;
return;

EscapeCommFunction(_handle, dtr ? SETDTR : CLRDTR);
}
Expand All @@ -265,7 +265,7 @@ void
WinSerialPort::setRTS(bool rts)
{
if (_handle == INVALID_HANDLE_VALUE)
return -1;
return;

EscapeCommFunction(_handle, rts ? SETRTS : CLRRTS);
}

0 comments on commit 2c1de9b

Please sign in to comment.