Upgrade to latest mbed-drivers version
diff --git a/yotta/data/example-authcrypt/main.cpp b/yotta/data/example-authcrypt/main.cpp
index c64cdb4..2377510 100644
--- a/yotta/data/example-authcrypt/main.cpp
+++ b/yotta/data/example-authcrypt/main.cpp
@@ -173,8 +173,9 @@
#if defined(TARGET_LIKE_MBED)
#include "mbed/test_env.h"
+#include "minar/minar.h"
-int main() {
+static void run() {
/* Use 115200 bps for consistency with other examples */
Serial pc(USBTX, USBRX);
pc.baud(115200);
@@ -186,6 +187,10 @@
MBED_HOSTTEST_RESULT(example() == 0);
}
+void app_start(int, char*[]) {
+ minar::Scheduler::postCallback(FunctionPointer0<void>(run).bind());
+}
+
#else
int main() {