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: rover_car rover_pc supervisor watering_unit ... more
Revision 23:2d57c3ea08dc, committed 2020-04-19
- Comitter:
- mariob
- Date:
- Sun Apr 19 17:59:59 2020 +0000
- Parent:
- 22:8dc7a24ff429
- Child:
- 24:80345e511574
- Commit message:
- fix
Changed in this revision
| ssWi.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/ssWi.cpp Sun Apr 19 17:26:13 2020 +0000
+++ b/ssWi.cpp Sun Apr 19 17:59:59 2020 +0000
@@ -151,7 +151,7 @@
}
offset = 0;
- while((index + sizeof(PortID) + sizeof(PortValue)) < n) {
+ while((index + sizeof(PortID) + sizeof(PortValue)) <= n) {
PortID port = buffer[index++];
PortValue value = 0;
memcpy(&value, &buffer[index], sizeof(PortValue));