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.
Dependencies: DM_FATFileSystem DM_HttpServer DM_USBHost EthernetInterface USBDevice mbed-rpc mbed-rtos mbed-src
Fork of DMSupport by
Diff: DMBoard.cpp
- Revision:
- 20:9df19da50290
- Parent:
- 17:4ea2509445ac
- Child:
- 22:1a58a518435c
--- 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);
}
