ardupilot/libraries/AP_HAL_Linux/qflight/qflight_util.h

4 lines
95 B
C

#include <rpcmem.h>
#define QFLIGHT_RPC_ALLOCATE(type) (type *)rpcmem_alloc_def(sizeof(type))