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.
Diff: main.cpp
- Revision:
- 1:28e9d3ed6106
- Parent:
- 0:f82a1ca216d4
diff -r f82a1ca216d4 -r 28e9d3ed6106 main.cpp
--- a/main.cpp Mon Sep 29 23:04:18 2014 +0000
+++ b/main.cpp Mon Mar 09 20:13:02 2015 +0000
@@ -17,8 +17,8 @@
// and bit 9 forced to 1, bit 8 forced to 0
// Locally administered MAC, reduced conflicts
// http://en.wikipedia.org/wiki/MAC_address
- serial_number[0] |= 0x00000200;
- serial_number[0] &= 0x0000FEFF;
+ serial_number[0] |= 0x00000002;
+ serial_number[0] &= 0x0000FFFE;
snprintf(buf, 16, "%4X%08X", serial_number[0], serial_number[1]);