diff --git a/yotta/data/example-authcrypt/main.cpp b/yotta/data/example-authcrypt/main.cpp index 2f49aa91..257a1adf 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 6ac2a29e..1a6c7ae7 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 4ef3665f..7603cbee 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 22fd4661..046a5485 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 684f1c16..907cfb6d 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)); }