Browse Source

update

master
zhaohe 2 years ago
parent
commit
5c86ae9926
  1. 2
      usrc/main.cpp

2
usrc/main.cpp

@ -411,7 +411,7 @@ void regfn() {
cmdScheduler.registerCmd("sleep_ms", [](int argc, char** argv, CmdScheduler::CmdProcessContext* context) {
CHECK_ARGC(1);
HAL_Delay(atoi(argv[1]));
osDelay(atoi(argv[1]));
});
}

Loading…
Cancel
Save