From 5c86ae99266f258f500a904fe868061a94bf1552 Mon Sep 17 00:00:00 2001 From: zhaohe Date: Wed, 6 Sep 2023 08:11:00 +0800 Subject: [PATCH] update --- usrc/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usrc/main.cpp b/usrc/main.cpp index b525c6a..390bb62 100644 --- a/usrc/main.cpp +++ b/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])); }); }