mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 04:23:34 +08: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