diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2012-11-27 17:24:33 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2012-11-27 17:24:33 +0100 |
commit | caf0fefa32b5441f1093de460cbc77f6d3aa2f92 (patch) | |
tree | 4972211af7a087b5393a2446f4af20bc4647da75 /apps/uORB | |
parent | dc72d467d4abe3d18bbf02091eb4eaddb4f491d2 (diff) | |
download | px4-firmware-caf0fefa32b5441f1093de460cbc77f6d3aa2f92.tar.gz px4-firmware-caf0fefa32b5441f1093de460cbc77f6d3aa2f92.tar.bz2 px4-firmware-caf0fefa32b5441f1093de460cbc77f6d3aa2f92.zip |
Cleaned up different uorb topics, cleaned up excessive stack sizes
Diffstat (limited to 'apps/uORB')
-rw-r--r-- | apps/uORB/topics/actuator_controls_effective.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/uORB/topics/actuator_controls_effective.h b/apps/uORB/topics/actuator_controls_effective.h index 3c72e4cb7..aad2c4d9b 100644 --- a/apps/uORB/topics/actuator_controls_effective.h +++ b/apps/uORB/topics/actuator_controls_effective.h @@ -48,13 +48,14 @@ #include <stdint.h> #include "../uORB.h" +#include "actuator_controls.h" -#define NUM_ACTUATOR_CONTROLS 8 -#define NUM_ACTUATOR_CONTROL_GROUPS 4 /**< for sanity checking */ +#define NUM_ACTUATOR_CONTROLS_EFFECTIVE NUM_ACTUATOR_CONTROLS +#define NUM_ACTUATOR_CONTROL_GROUPS_EFFECTIVE NUM_ACTUATOR_CONTROL_GROUPS /**< for sanity checking */ struct actuator_controls_effective_s { uint64_t timestamp; - float control_effective[NUM_ACTUATOR_CONTROLS]; + float control_effective[NUM_ACTUATOR_CONTROLS_EFFECTIVE]; }; /* actuator control sets; this list can be expanded as more controllers emerge */ |