Dependencies: C12832 EthernetInterface LM75B MMA7660 MQTT mbed-rtos mbed
Fork of IoTClientEthernet by
Diff: main.cpp
- Revision:
- 15:09458079f4bb
- Parent:
- 14:1f961d19f3cf
- Child:
- 16:2420bfbf5f1c
--- a/main.cpp Fri Jul 24 15:40:33 2015 +0000 +++ b/main.cpp Mon Jul 27 09:03:30 2015 +0000 @@ -86,16 +86,16 @@ extern "C" void $Super$$mbed_mac_address(char *s); extern "C" void $Sub$$mbed_mac_address(char *s) { - char otherMac[6] = ""; - $Super$$mbed_mac_address(otherMac); + char originalMAC[6] = ""; + $Super$$mbed_mac_address(originalMAC); char mac[6]; mac[0] = 0x00; mac[1] = 0x08; mac[2] = 0xdc; - mac[3] = otherMac[3]; - mac[4] = otherMac[4]; - mac[5] = otherMac[5]; + mac[3] = originalMAC[3]; + mac[4] = originalMAC[4]; + mac[5] = originalMAC[5]; memcpy(s, mac, 6); } */