From ca4fb7154a0cae45387c99dc201e7710629286b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Fri, 18 Sep 2015 14:36:57 +0200 Subject: [PATCH] Fix mbed examples after minar upgrade --- yotta/data/example-authcrypt/main.cpp | 2 +- yotta/data/example-benchmark/main.cpp | 2 +- yotta/data/example-hashing/main.cpp | 2 +- yotta/data/example-selftest/main.cpp | 2 +- yotta/data/example-tls-client/main.cpp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/yotta/data/example-authcrypt/main.cpp b/yotta/data/example-authcrypt/main.cpp index 2f49aa91c9..257a1adf1b 100644 --- a/yotta/data/example-authcrypt/main.cpp +++ b/yotta/data/example-authcrypt/main.cpp @@ -187,7 +187,7 @@ static void run() { } void app_start(int, char*[]) { - minar::Scheduler::postCallback(FunctionPointer0(run).bind()); + minar::Scheduler::postCallback(mbed::util::FunctionPointer0(run).bind()); } #else diff --git a/yotta/data/example-benchmark/main.cpp b/yotta/data/example-benchmark/main.cpp index 6ac2a29e8d..1a6c7ae7a8 100644 --- a/yotta/data/example-benchmark/main.cpp +++ b/yotta/data/example-benchmark/main.cpp @@ -947,7 +947,7 @@ static void run() { } void app_start(int, char*[]) { - minar::Scheduler::postCallback(FunctionPointer0(run).bind()); + minar::Scheduler::postCallback(mbed::util::FunctionPointer0(run).bind()); } #endif /* TARGET_LIKE_MBED */ diff --git a/yotta/data/example-hashing/main.cpp b/yotta/data/example-hashing/main.cpp index 4ef3665feb..7603cbee68 100644 --- a/yotta/data/example-hashing/main.cpp +++ b/yotta/data/example-hashing/main.cpp @@ -167,7 +167,7 @@ static void run() { } void app_start(int, char*[]) { - minar::Scheduler::postCallback(FunctionPointer0(run).bind()); + minar::Scheduler::postCallback(mbed::util::FunctionPointer0(run).bind()); } #else diff --git a/yotta/data/example-selftest/main.cpp b/yotta/data/example-selftest/main.cpp index 22fd4661f4..046a548507 100644 --- a/yotta/data/example-selftest/main.cpp +++ b/yotta/data/example-selftest/main.cpp @@ -258,7 +258,7 @@ static void run() { } void app_start(int, char*[]) { - minar::Scheduler::postCallback(FunctionPointer0(run).bind()); + minar::Scheduler::postCallback(mbed::util::FunctionPointer0(run).bind()); } #else diff --git a/yotta/data/example-tls-client/main.cpp b/yotta/data/example-tls-client/main.cpp index 684f1c16e0..907cfb6d4b 100644 --- a/yotta/data/example-tls-client/main.cpp +++ b/yotta/data/example-tls-client/main.cpp @@ -513,7 +513,7 @@ void app_start(int, char*[]) { printf("Client IP Address is %s\r\n", eth.getIPAddress()); - mbed::FunctionPointer1 fp(hello, &HelloHTTPS::startTest); + mbed::util::FunctionPointer1 fp(hello, &HelloHTTPS::startTest); minar::Scheduler::postCallback(fp.bind(HTTPS_PATH)); }