Skip to content

Commit

Permalink
Issue #86: Set RTS line in PacketParsingDemo apps. Fixes failure on 1…
Browse files Browse the repository at this point in the history
…0.11.
  • Loading branch information
Andrew Madsen committed Oct 5, 2015
1 parent 3dcaf14 commit 6258b3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ - (void)setSerialPort:(ORSSerialPort *)serialPort
_serialPort = serialPort;

_serialPort.baudRate = @57600;
_serialPort.RTS = YES;
_serialPort.delegate = self;
[_serialPort open];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ class SerialCommunicator: NSObject, ORSSerialPortDelegate {
didSet {
if let port = serialPort {
port.baudRate = 57600
port.RTS = true
port.delegate = self
port.open()
}
Expand Down

0 comments on commit 6258b3d

Please sign in to comment.