ports/devel/bossa/files/patch-src_WinSerialPort.h
Boris Samorodov fcbe224d2c devel/bossa: Adding the 1200bps hack to devel/bossa should improve
reliability of programming the Arduino Due.

PR:		218241
Submitted by:	Kyle Evans <bsdports@kyle-evans.net> (maintainer)
2017-04-19 20:19:32 +00:00

11 lines
288 B
C++

--- src/WinSerialPort.h.orig 2017-03-31 15:31:35 UTC
+++ src/WinSerialPort.h
@@ -55,6 +55,8 @@ class WinSerialPort : public SerialPort (public)
bool timeout(int millisecs);
void flush();
+ void setDTR(bool dtr);
+ void setRTS(bool rts);
private:
HANDLE _handle;