mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-06-25 12:41:56 +03:00
Fix yotta examples baud rate.
This commit is contained in:
@ -935,10 +935,6 @@ int benchmark( int argc, char *argv[] )
|
||||
#include "minar/minar.h"
|
||||
|
||||
static void run() {
|
||||
/* Use 115200 bps for consistency with other examples */
|
||||
Serial pc(USBTX, USBRX);
|
||||
pc.baud(115200);
|
||||
|
||||
MBED_HOSTTEST_TIMEOUT(150);
|
||||
MBED_HOSTTEST_SELECT(default);
|
||||
MBED_HOSTTEST_DESCRIPTION(mbed TLS benchmark program);
|
||||
@ -947,6 +943,8 @@ static void run() {
|
||||
}
|
||||
|
||||
void app_start(int, char*[]) {
|
||||
/* Use 115200 bps for consistency with other examples */
|
||||
get_stdio_serial().baud(115200);
|
||||
minar::Scheduler::postCallback(mbed::util::FunctionPointer0<void>(run).bind());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user