diff options
author | px4dev <px4@purgatory.org> | 2012-11-01 23:42:36 -0700 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2012-11-03 01:14:24 -0700 |
commit | ea539031da96df3d3eb9faadd24eb1cc71813e7f (patch) | |
tree | 3e05732ce6410d59475ae30c8f1753084a5a4072 /apps/sensors | |
parent | 82c4dbaaa88c2cfc591e402817e6268de708de3b (diff) | |
download | px4-firmware-ea539031da96df3d3eb9faadd24eb1cc71813e7f.tar.gz px4-firmware-ea539031da96df3d3eb9faadd24eb1cc71813e7f.tar.bz2 px4-firmware-ea539031da96df3d3eb9faadd24eb1cc71813e7f.zip |
Cleanup and refactor of the PX4IO firmware and board support. Builds, not tested yet.
Diffstat (limited to 'apps/sensors')
-rw-r--r-- | apps/sensors/sensors.cpp | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/apps/sensors/sensors.cpp b/apps/sensors/sensors.cpp index e4da687c6..453502b05 100644 --- a/apps/sensors/sensors.cpp +++ b/apps/sensors/sensors.cpp @@ -63,6 +63,7 @@ #include <systemlib/param/param.h> #include <systemlib/err.h> #include <systemlib/perf_counter.h> +#include <systemlib/ppm_decode.h> #include <uORB/uORB.h> #include <uORB/topics/sensor_combined.h> @@ -90,19 +91,6 @@ #define BAT_VOL_LOWPASS_2 0.01f #define VOLTAGE_BATTERY_IGNORE_THRESHOLD_VOLTS 3.5f -#ifdef CONFIG_HRT_PPM -extern "C" { - extern uint16_t ppm_buffer[]; - extern unsigned ppm_decoded_channels; - extern uint64_t ppm_last_valid_decode; -} - -/* PPM Settings */ -# define PPM_MIN 1000 -# define PPM_MAX 2000 -# define PPM_MID (PPM_MIN+PPM_MAX)/2 -#endif - /** * Sensor app start / stop handling function * |