aboutsummaryrefslogtreecommitdiff
path: root/apps/uORB
diff options
context:
space:
mode:
Diffstat (limited to 'apps/uORB')
-rw-r--r--apps/uORB/topics/actuator_controls_effective.h7
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 */