mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-06-25 12:41:56 +03:00
Upgrade to latest mbed-drivers version
This commit is contained in:
@ -933,8 +933,9 @@ int benchmark( int argc, char *argv[] )
|
||||
}
|
||||
|
||||
#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);
|
||||
@ -946,4 +947,8 @@ int main() {
|
||||
MBED_HOSTTEST_RESULT(benchmark(0, NULL) == 0);
|
||||
}
|
||||
|
||||
void app_start(int, char*[]) {
|
||||
minar::Scheduler::postCallback(FunctionPointer0<void>(run).bind());
|
||||
}
|
||||
|
||||
#endif /* TARGET_LIKE_MBED */
|
||||
|
Reference in New Issue
Block a user