mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
platforms: add px4_udelay and px4_mdelay
- NuttX: up_udelay and up_mdelay - Linux: usleep and msleep
This commit is contained in:
@@ -33,3 +33,6 @@
|
||||
#pragma once
|
||||
|
||||
#define px4_arch_gpiosetevent(pinset,r,f,e,fp,a) -1
|
||||
|
||||
#define px4_udelay(usec) px4_usleep(usec)
|
||||
#define px4_mdelay(msec) px4_msleep(msec)
|
||||
|
||||
Reference in New Issue
Block a user