IO: Allow control of the blue led state as function of a Pixhawk 2.1 heater

This commit is contained in:
Lorenz Meier
2016-12-05 10:23:46 +01:00
committed by Lorenz Meier
parent 4b6a11161e
commit 9f14ace0fa
3 changed files with 34 additions and 13 deletions
+5
View File
@@ -244,6 +244,11 @@ enum { /* DSM bind states */
#define PX4IO_P_SETUP_MOTOR_SLEW_MAX 24 /* max motor slew rate */
#define PX4IO_P_SETUP_THERMAL 25 /* thermal management */
#define PX4IO_THERMAL_IGNORE UINT16_MAX
#define PX4IO_THERMAL_OFF 0
#define PX4IO_THERMAL_FULL 10000
/* autopilot control values, -10000..10000 */
#define PX4IO_PAGE_CONTROLS 51 /**< actuator control groups, one after the other, 8 wide */
#define PX4IO_P_CONTROLS_GROUP_0 (PX4IO_PROTOCOL_MAX_CONTROL_COUNT * 0) /**< 0..PX4IO_PROTOCOL_MAX_CONTROL_COUNT - 1 */