From 2fa1673ee0c08cb75cff0c61141340e74737a14d Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Thu, 24 Mar 2016 10:40:29 +0100 Subject: [PATCH] Make 800 bytes space on IO. From @tridge. --- src/modules/px4iofirmware/px4io.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/modules/px4iofirmware/px4io.h b/src/modules/px4iofirmware/px4io.h index 3f35c471a5..73d222bbb8 100644 --- a/src/modules/px4iofirmware/px4io.h +++ b/src/modules/px4iofirmware/px4io.h @@ -48,6 +48,12 @@ #include +/* + hotfix: we are critically short of memory in px4io and this is the + easiest way to reclaim about 800 bytes. + */ +#define perf_alloc(a,b) NULL + /* * Constants and limits. */