sd_bench and logger use aligned buffers

This commit is contained in:
David Sidrane
2021-03-15 13:13:37 -07:00
committed by Lorenz Meier
parent 45d0603627
commit ccee36bb68
4 changed files with 22 additions and 3 deletions
@@ -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