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.
Dependents: MAX5715BOB_Tester MAX11131BOB_Tester MAX5171BOB_Tester MAX11410BOB_Tester ... more
Diff: CmdLine.cpp
- Revision:
- 19:b14922500968
- Parent:
- 18:2c3c44a34d81
- Child:
- 20:92a1fb8a5732
--- a/CmdLine.cpp Wed Nov 10 02:03:34 2021 -0800
+++ b/CmdLine.cpp Tue Nov 30 00:48:26 2021 -0800
@@ -399,7 +399,13 @@
unsigned int idxCopyDst = idxKey + offset;
unsigned int idxCopySrc = idxSpace + 1 + offset;
if (idxCopyDst > indexOfNextEmptyCell) break;
- if (idxCopySrc > indexOfNextEmptyCell) break;
+ // cmdLine final key=value arg wrongly included in parse_byteCount_byteList_ buffer #358
+ // if (idxCopySrc > indexOfNextEmptyCell) break;
+ if (idxCopySrc > indexOfNextEmptyCell)
+ {
+ buf[idxCopyDst] = ' ';
+ continue;
+ }
buf[idxCopyDst] = buf[idxCopySrc];
}
if (verbose) {
@@ -581,7 +587,13 @@
unsigned int idxCopyDst = idxKey + offset;
unsigned int idxCopySrc = idxSpace + 1 + offset;
if (idxCopyDst > indexOfNextEmptyCell) break;
- if (idxCopySrc > indexOfNextEmptyCell) break;
+ // cmdLine final key=value arg wrongly included in parse_byteCount_byteList_ buffer #358
+ // if (idxCopySrc > indexOfNextEmptyCell) break;
+ if (idxCopySrc > indexOfNextEmptyCell)
+ {
+ buf[idxCopyDst] = ' ';
+ continue;
+ }
buf[idxCopyDst] = buf[idxCopySrc];
}
if (verbose) {