mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-15 06:57:37 +08:00
[DO NOT MERGE] testing param types
This commit is contained in:
@@ -446,7 +446,7 @@ __END_DECLS
|
||||
|
||||
|
||||
#if defined(__cplusplus) && !defined(PARAM_IMPLEMENTATION)
|
||||
#if 0 // set to 1 to debug param type mismatches
|
||||
#if 1 // set to 1 to debug param type mismatches
|
||||
#include <cstdio>
|
||||
#define CHECK_PARAM_TYPE(param, type) \
|
||||
if (param_type(param) != type) { \
|
||||
|
||||
Reference in New Issue
Block a user