mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-17 23:07:38 +08:00
sd_bench and logger use aligned buffers
This commit is contained in:
committed by
Lorenz Meier
parent
45d0603627
commit
ccee36bb68
@@ -83,6 +83,9 @@ typedef pollevent_t px4_pollevent_t;
|
||||
|
||||
#define PX4_STACK_OVERHEAD (1024 * 24)
|
||||
|
||||
#define px4_cache_aligned_data()
|
||||
#define px4_cache_aligned_alloc malloc
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
typedef short px4_pollevent_t;
|
||||
|
||||
@@ -40,3 +40,6 @@
|
||||
|
||||
#define px4_udelay(usec) px4_usleep(usec)
|
||||
#define px4_mdelay(msec) px4_msleep(msec)
|
||||
|
||||
#define px4_cache_aligned_data()
|
||||
#define px4_cache_aligned_alloc malloc
|
||||
|
||||
Reference in New Issue
Block a user