few changes for RTS/CTS control
Dependencies: MTS-Serial libmDot mbed-rtos mbed
Fork of mDot_AT_firmware by
Diff: CommandTerminal/CmdSendStringOnInterval.cpp
- Revision:
- 4:666017851052
- Parent:
- 2:e5eebd74d36d
- Child:
- 9:ff62b20f7000
--- a/CommandTerminal/CmdSendStringOnInterval.cpp Tue Aug 18 15:58:59 2015 +0000 +++ b/CommandTerminal/CmdSendStringOnInterval.cpp Tue Aug 18 11:21:43 2015 -0500 @@ -104,8 +104,8 @@ return false; } - for (int i = 2; i < args.size(); i++) - size += args[i].size(); + for (int i = 2; i < args.size() - 1; i++) + size += args[i].size() + 1; if (size > 242) { setErrorMessage("Invalid packet, expects (string:242)"); return false;