mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 05:03:35 +08:00
param: undefine CHECK_PARAM_TYPE after it's used
This commit is contained in:
@@ -478,6 +478,8 @@ static inline int param_get_cplusplus(param_t param, int32_t *val)
|
|||||||
CHECK_PARAM_TYPE(param, PARAM_TYPE_INT32);
|
CHECK_PARAM_TYPE(param, PARAM_TYPE_INT32);
|
||||||
return param_get(param, val);
|
return param_get(param, val);
|
||||||
}
|
}
|
||||||
|
#undef CHECK_PARAM_TYPE
|
||||||
|
|
||||||
#define param_get(param, val) param_get_cplusplus(param, val)
|
#define param_get(param, val) param_get_cplusplus(param, val)
|
||||||
|
|
||||||
#endif /* __cplusplus */
|
#endif /* __cplusplus */
|
||||||
|
|||||||
Reference in New Issue
Block a user