Fix mbed examples after minar upgrade

This commit is contained in:
Manuel Pégourié-Gonnard 2015-09-18 14:36:57 +02:00
parent 8cea8ad8b8
commit ca4fb7154a
5 changed files with 5 additions and 5 deletions

View File

@ -187,7 +187,7 @@ static void run() {
}
void app_start(int, char*[]) {
minar::Scheduler::postCallback(FunctionPointer0<void>(run).bind());
minar::Scheduler::postCallback(mbed::util::FunctionPointer0<void>(run).bind());
}
#else

View File

@ -947,7 +947,7 @@ static void run() {
}
void app_start(int, char*[]) {
minar::Scheduler::postCallback(FunctionPointer0<void>(run).bind());
minar::Scheduler::postCallback(mbed::util::FunctionPointer0<void>(run).bind());
}
#endif /* TARGET_LIKE_MBED */

View File

@ -167,7 +167,7 @@ static void run() {
}
void app_start(int, char*[]) {
minar::Scheduler::postCallback(FunctionPointer0<void>(run).bind());
minar::Scheduler::postCallback(mbed::util::FunctionPointer0<void>(run).bind());
}
#else

View File

@ -258,7 +258,7 @@ static void run() {
}
void app_start(int, char*[]) {
minar::Scheduler::postCallback(FunctionPointer0<void>(run).bind());
minar::Scheduler::postCallback(mbed::util::FunctionPointer0<void>(run).bind());
}
#else

View File

@ -513,7 +513,7 @@ void app_start(int, char*[]) {
printf("Client IP Address is %s\r\n", eth.getIPAddress());
mbed::FunctionPointer1<void, const char*> fp(hello, &HelloHTTPS::startTest);
mbed::util::FunctionPointer1<void, const char*> fp(hello, &HelloHTTPS::startTest);
minar::Scheduler::postCallback(fp.bind(HTTPS_PATH));
}