![](/media/cache/profiles/94aef38441efa3380a3bed3faf1f9d5d.50x50_q85.jpg)
Diff: RTno/OutPort.cpp
- Revision:
- 1:b96a6ff9bb6f
- Parent:
- 0:b14546a3cfab
diff -r b14546a3cfab -r b96a6ff9bb6f RTno/OutPort.cpp --- a/RTno/OutPort.cpp Fri Jul 29 11:23:06 2011 +0000 +++ b/RTno/OutPort.cpp Mon Aug 01 14:45:58 2011 +0000 @@ -10,7 +10,7 @@ #include "OutPort.h" #include "SendPacket.h" #include "ReceivePacket.h" - +#include "Serial.h" OutPort::OutPort(char* name, TimedBoolean& Data) : OutPortBase(name) @@ -132,7 +132,7 @@ { int datalen = GetLength() * SizeofData(); int namelen = strlen(GetName()); - char packet_buffer[MAX_PACKET_SIZE]; + char packet_buffer[MAX_PACKET_SIZE];; packet_buffer[0] = namelen; packet_buffer[1] = datalen; memcpy(&(packet_buffer[2]), GetName(), namelen);