Skip to content

Commit

Permalink
AP_Motors: add AP_MOTORS_MOT defines up to 32
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker committed Jan 8, 2025
1 parent adfb176 commit b4e4c88
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions libraries/AP_Motors/AP_Motors_Class.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,22 @@
#define AP_MOTORS_MOT_14 13U
#define AP_MOTORS_MOT_15 14U
#define AP_MOTORS_MOT_16 15U
#define AP_MOTORS_MOT_17 16U
#define AP_MOTORS_MOT_18 17U
#define AP_MOTORS_MOT_19 18U
#define AP_MOTORS_MOT_20 19U
#define AP_MOTORS_MOT_21 20U
#define AP_MOTORS_MOT_22 21U
#define AP_MOTORS_MOT_23 22U
#define AP_MOTORS_MOT_24 23U
#define AP_MOTORS_MOT_25 24U
#define AP_MOTORS_MOT_26 25U
#define AP_MOTORS_MOT_27 26U
#define AP_MOTORS_MOT_28 27U
#define AP_MOTORS_MOT_29 28U
#define AP_MOTORS_MOT_30 29U
#define AP_MOTORS_MOT_31 30U
#define AP_MOTORS_MOT_32 31U

#ifndef AP_MOTORS_MAX_NUM_MOTORS
#define AP_MOTORS_MAX_NUM_MOTORS 32
Expand Down

0 comments on commit b4e4c88

Please sign in to comment.