t
Dependencies: DM_FATFileSystem DM_HttpServer DM_USBHost EthernetInterface USBDevice mbed-rpc mbed-rtos
Fork of DMSupport by
Diff: DMBoard.cpp
- Revision:
- 20:9df19da50290
- Parent:
- 17:4ea2509445ac
- Child:
- 22:1a58a518435c
diff -r 2efb6f5f69a4 -r 9df19da50290 DMBoard.cpp --- a/DMBoard.cpp Fri Jan 09 11:42:06 2015 +0100 +++ b/DMBoard.cpp Mon Jan 12 10:33:53 2015 +0100 @@ -28,7 +28,6 @@ #include "meas.h" #endif - /****************************************************************************** * Configuration Compatibility Control *****************************************************************************/ @@ -232,7 +231,13 @@ break; } #endif - + +#if defined(DM_BOARD_USE_REGISTRY) + if (Registry::instance().load() != Registry::Ok) { + err = RegistryError; + break; + } +#endif _initialized = true; } while(0); }