mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 00:43:33 +08:00
Linux: Added preliminary work queue support
Based on NuttX work queue code. Not yet functional. Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -123,7 +123,8 @@ __BEGIN_DECLS
|
||||
extern long PX4_TICKS_PER_SEC;
|
||||
__END_DECLS
|
||||
|
||||
#define USEC2TICK(x) (PX4_TICKS_PER_SEC*(long)x/1000000L)
|
||||
#define USEC2TICK(x) (PX4_TICKS_PER_SEC*(long)(x)/1000000L)
|
||||
#define USEC_PER_TICK (1000000L/PX4_TICKS_PER_SEC)
|
||||
|
||||
#define px4_statfs_buf_f_bavail_t unsigned long
|
||||
|
||||
|
||||
Reference in New Issue
Block a user