Skip to content

Commit

Permalink
AP_UAVCAN: change default ESC and servo bitmasks to 0
Browse files Browse the repository at this point in the history
this is to address ArduPilot#8166
  • Loading branch information
tridge committed May 16, 2018
1 parent 47b0e00 commit 1383e08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/AP_UAVCAN/AP_UAVCAN.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@ const AP_Param::GroupInfo AP_UAVCAN::var_info[] = {
// @Description: Bitmask with one set for channel to be transmitted as a servo command over UAVCAN
// @Bitmask: 0: Servo 1, 1: Servo 2, 2: Servo 3, 3: Servo 4, 4: Servo 5, 5: Servo 6, 6: Servo 7, 7: Servo 8, 8: Servo 9, 9: Servo 10, 10: Servo 11, 11: Servo 12, 12: Servo 13, 13: Servo 14, 14: Servo 15
// @User: Advanced
AP_GROUPINFO("SRV_BM", 2, AP_UAVCAN, _servo_bm, 255),
AP_GROUPINFO("SRV_BM", 2, AP_UAVCAN, _servo_bm, 0),

// @Param: ESC_BM
// @DisplayName: RC Out channels to be transmitted as ESC over UAVCAN
// @Description: Bitmask with one set for channel to be transmitted as a ESC command over UAVCAN
// @Bitmask: 0: ESC 1, 1: ESC 2, 2: ESC 3, 3: ESC 4, 4: ESC 5, 5: ESC 6, 6: ESC 7, 7: ESC 8, 8: ESC 9, 9: ESC 10, 10: ESC 11, 11: ESC 12, 12: ESC 13, 13: ESC 14, 14: ESC 15, 15: ESC 16
// @User: Advanced
AP_GROUPINFO("ESC_BM", 3, AP_UAVCAN, _esc_bm, 255),
AP_GROUPINFO("ESC_BM", 3, AP_UAVCAN, _esc_bm, 0),

AP_GROUPEND
};
Expand Down

0 comments on commit 1383e08

Please sign in to comment.