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.
Revision 3:573403f12cdd, committed 2019-09-27
- Comitter:
- foxbrianr
- Date:
- Fri Sep 27 13:20:37 2019 +0000
- Parent:
- 2:180c90fb759c
- Commit message:
- Beta 2
Changed in this revision
| AddressMap.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 180c90fb759c -r 573403f12cdd AddressMap.cpp
--- a/AddressMap.cpp Tue Sep 17 13:48:33 2019 +0000
+++ b/AddressMap.cpp Fri Sep 27 13:20:37 2019 +0000
@@ -37,18 +37,18 @@
printf("Initializing Default Data\n\r");
+#if 0
addresses[i].address = i;
sprintf(addresses[i].description, "Basement", i);
i++;
-#if 0
addresses[i].address = i;
sprintf(addresses[i].description, "Lobby", i);
i++;
#endif
- int floor = 1;
+ int floor = 0;
while (i<MAX_ADDRESSES) {
addresses[i].address = i;
- sprintf(addresses[i].description, "Floor %d", floor++);
+ sprintf(addresses[i].description, "Unit %d", i);
i++;
}