Browse Source

update

master
zhaohe 2 years ago
parent
commit
c81e01b69c
  1. 2
      components/cmdscheduler/cmd_scheduler.cpp

2
components/cmdscheduler/cmd_scheduler.cpp

@ -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;

Loading…
Cancel
Save