Serial RPC Interface using the MODSERIAL library. Does not hang when serial port misbehaves.
Diff: SerialRPCInterface.cpp
- Revision:
- 2:e26e61ea802b
- Parent:
- 1:cf1aa160edc1
--- a/SerialRPCInterface.cpp Fri Feb 04 00:58:02 2011 +0000 +++ b/SerialRPCInterface.cpp Fri Feb 04 01:48:33 2011 +0000 @@ -71,7 +71,7 @@ if(_enabled == true) { pc.gets(_command, 256); _MsgProcess(); - pc.printf("%s\r\n", _response); + pc.printf("%s\n", _response); } _RPCflag = false; }