|
|
@ -25,7 +25,7 @@ void CmdScheduler::regbasiccmd() { |
|
|
|
} |
|
|
|
return (int32_t)0; |
|
|
|
}); |
|
|
|
this->registerCmd("sleep_ms", "", 1, [this](Context* context) { |
|
|
|
this->registerCmd("sleep_ms", "(ms)", 1, [this](Context* context) { |
|
|
|
int ms = atoi(context->argv[1]); |
|
|
|
osDelay(ms); |
|
|
|
return 0; |
|
|
|