mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-31 23:21:36 +08:00
px4iofirmware: add PX4IO_PERF define to completely disable perf counters
This commit is contained in:
@@ -52,12 +52,6 @@
|
||||
|
||||
#include <output_limit/output_limit.h>
|
||||
|
||||
/*
|
||||
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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user