mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 21:30:31 -04:00
reliability of programming the Arduino Due. PR: 218241 Submitted by: Kyle Evans <bsdports@kyle-evans.net> (maintainer)
18 lines
270 B
C++
18 lines
270 B
C++
--- src/WinSerialPort.cpp.orig 2017-03-31 15:31:35 UTC
|
|
+++ src/WinSerialPort.cpp
|
|
@@ -251,3 +251,15 @@ WinSerialPort::flush()
|
|
{
|
|
Sleep(1);
|
|
}
|
|
+
|
|
+void
|
|
+WinSerialPort::setDTR(bool dtr)
|
|
+{
|
|
+ Sleep(1);
|
|
+}
|
|
+
|
|
+void
|
|
+WinSerialPort::setRTS(bool rts)
|
|
+{
|
|
+ Sleep(1);
|
|
+}
|