mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-02-24 08:07:39 +00:00
Fix mbed examples after minar upgrade
This commit is contained in:
parent
8cea8ad8b8
commit
ca4fb7154a
|
@ -187,7 +187,7 @@ static void run() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void app_start(int, char*[]) {
|
void app_start(int, char*[]) {
|
||||||
minar::Scheduler::postCallback(FunctionPointer0<void>(run).bind());
|
minar::Scheduler::postCallback(mbed::util::FunctionPointer0<void>(run).bind());
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
|
@ -947,7 +947,7 @@ static void run() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void app_start(int, char*[]) {
|
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 */
|
#endif /* TARGET_LIKE_MBED */
|
||||||
|
|
|
@ -167,7 +167,7 @@ static void run() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void app_start(int, char*[]) {
|
void app_start(int, char*[]) {
|
||||||
minar::Scheduler::postCallback(FunctionPointer0<void>(run).bind());
|
minar::Scheduler::postCallback(mbed::util::FunctionPointer0<void>(run).bind());
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
|
@ -258,7 +258,7 @@ static void run() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void app_start(int, char*[]) {
|
void app_start(int, char*[]) {
|
||||||
minar::Scheduler::postCallback(FunctionPointer0<void>(run).bind());
|
minar::Scheduler::postCallback(mbed::util::FunctionPointer0<void>(run).bind());
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
|
@ -513,7 +513,7 @@ void app_start(int, char*[]) {
|
||||||
|
|
||||||
printf("Client IP Address is %s\r\n", eth.getIPAddress());
|
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));
|
minar::Scheduler::postCallback(fp.bind(HTTPS_PATH));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue