Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MTS-Serial libmDot-mbed5
Fork of Dot-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;
