From 27247f7d00275e29234e00c6e9722a9a01539d12 Mon Sep 17 00:00:00 2001 From: xj Date: Thu, 15 Aug 2024 19:38:29 -0700 Subject: [PATCH] sleep function --- .../services/drivers/usb/components/osal/usb_osal.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/osal/usb_osal.c b/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/osal/usb_osal.c index e65d50ed6..0f6b7c988 100644 --- a/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/osal/usb_osal.c +++ b/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/osal/usb_osal.c @@ -330,4 +330,11 @@ size_t usb_osal_enter_critical_section(void){ void usb_osal_leave_critical_section(size_t flag){ +} + + +void usb_osal_msleep(uint32_t delay){ + if(delay > 0){ + + } } \ No newline at end of file