platforms: add px4_udelay and px4_mdelay

- NuttX: up_udelay and up_mdelay
 - Linux: usleep and msleep
This commit is contained in:
Daniel Agar
2021-02-25 16:59:33 -05:00
parent f1f396e338
commit e0ade94d25
4 changed files with 12 additions and 6 deletions

View File

@@ -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)