sensors: break off parameters initialization into separate source file

This commit is contained in:
Beat Küng
2016-12-14 19:57:54 +01:00
committed by Lorenz Meier
parent c5e485bdd7
commit f9b3b5a799
5 changed files with 487 additions and 406 deletions
+4 -1
View File
@@ -63,7 +63,10 @@
/* Define a usable PX4_ISFINITE. Note that PX4_ISFINITE is ONLY used in C++ files,
* therefore, by default, we want to use std::isfinite. */
# define PX4_ISFINITE(x) std::isfinite(x)
#ifdef __cplusplus
#include <cmath>
#define PX4_ISFINITE(x) std::isfinite(x)
#endif
#if defined(__PX4_ROS)
/****************************************************************************