Baseline for testing

Files at this revision

API Documentation at this revision

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++;
     }