AP_Motors: support up to 32 motors

This commit is contained in:
Andrew Tridgell 2024-07-20 11:15:18 +10:00 committed by Peter Barker
parent 46b452ae39
commit c49745c755

View File

@ -21,7 +21,9 @@
#define AP_MOTORS_MOT_11 10U
#define AP_MOTORS_MOT_12 11U
#define AP_MOTORS_MAX_NUM_MOTORS 12
#ifndef AP_MOTORS_MAX_NUM_MOTORS
#define AP_MOTORS_MAX_NUM_MOTORS 32
#endif
#ifndef AP_MOTORS_FRAME_DEFAULT_ENABLED
#define AP_MOTORS_FRAME_DEFAULT_ENABLED 1