personal copy to test forking on mbed.org
Fork of k64f_uuid by
Diff: main.cpp
- Revision:
- 1:3166c3c53a37
- Parent:
- 0:496297783a79
- Child:
- 2:3d2e61cce12a
--- a/main.cpp Tue Jul 08 00:03:10 2014 +0000 +++ b/main.cpp Wed Jul 30 17:42:50 2014 +0000 @@ -1,10 +1,9 @@ #include "mbed.h" -uint32_t result[4]; - int main() { - unsigned int UUID_LOC = 0x40048054; - int i = 3; + uint32_t UUID_LOC = 0x40048054; // K64F address of UUID data + uint32_t result[4] = {0}; + uint32_t i = 3; for (; i>=0; --i) { result[i] = *(uint32_t *)UUID_LOC;