Subject:
|
Re: LEGO remote and LNP (legOS 0.2.4)
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Tue, 28 Aug 2001 08:46:31 GMT
|
Viewed:
|
1700 times
|
| |
| |
On Aug 27, Zhengrong Zang wrote:
> Hi
> I found after used the remote control patch in legOS.sourceforge.net, the
> dll doesn't work, could you send me your patch?
Are you using windows? Then try the attached patch. It is completely
untested, as I have no windows to try on.
Jochen
--- legOS/util/dll-src/rcxtty.c Tue Aug 28 10:41:09 2001
+++ legOS/util/dll-src/rcxtty.c Tue Aug 28 10:42:13 2001
@@ -123,7 +123,7 @@
return -1;
} else {
dcb.ByteSize = 8;
- dcb.Parity = 0; // 0-4=no,odd,even,mark,space
+ dcb.Parity = highspeed ? 0 : 1; // 0-4=no,odd,even,mark,space
dcb.StopBits = 0; // 0,1,2 = 1, 1.5, 2
dcb.fBinary = TRUE ;
dcb.fParity = FALSE ;
|
|
Message has 1 Reply:
Message is in Reply To:
11 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|