Matthew Goldsmith / Mbed OS cis441projMS2b

Dependencies:   TextLCD MQTT

Revision:
10:8df624795295
Parent:
9:f5981ced0b47
Child:
11:2ab3397b6e30
--- a/Communication.cpp	Thu Dec 12 22:28:02 2019 +0000
+++ b/Communication.cpp	Thu Dec 12 23:14:19 2019 +0000
@@ -100,7 +100,8 @@
     char* payload = (char*)message.payload;
     printf("%s\r\n", payload);
     if (strcmp (Communication::mac_address(NULL), payload) != 0) {
-        Road::road_in_use(NULL).done_flags.set(0xF0);
+        printf("not matching address\r\n");
+        Road::ready(1);//oad_in_use(NULL)->done_flags.set(0xF0);
     }
 }