mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Motors: add and use AP_MOTORS_FRAME_DEFAULT_ENABLED
This commit is contained in:
parent
b88bfa962b
commit
06c61070dc
@ -22,26 +22,30 @@
|
||||
|
||||
#define AP_MOTORS_MAX_NUM_MOTORS 12
|
||||
|
||||
#ifndef AP_MOTORS_FRAME_DEFAULT_ENABLED
|
||||
#define AP_MOTORS_FRAME_DEFAULT_ENABLED 1
|
||||
#endif
|
||||
|
||||
#ifndef AP_MOTORS_FRAME_QUAD_ENABLED
|
||||
#define AP_MOTORS_FRAME_QUAD_ENABLED 1
|
||||
#define AP_MOTORS_FRAME_QUAD_ENABLED AP_MOTORS_FRAME_DEFAULT_ENABLED
|
||||
#endif
|
||||
#ifndef AP_MOTORS_FRAME_HEXA_ENABLED
|
||||
#define AP_MOTORS_FRAME_HEXA_ENABLED 1
|
||||
#define AP_MOTORS_FRAME_HEXA_ENABLED AP_MOTORS_FRAME_DEFAULT_ENABLED
|
||||
#endif
|
||||
#ifndef AP_MOTORS_FRAME_OCTA_ENABLED
|
||||
#define AP_MOTORS_FRAME_OCTA_ENABLED 1
|
||||
#define AP_MOTORS_FRAME_OCTA_ENABLED AP_MOTORS_FRAME_DEFAULT_ENABLED
|
||||
#endif
|
||||
#ifndef AP_MOTORS_FRAME_DECA_ENABLED
|
||||
#define AP_MOTORS_FRAME_DECA_ENABLED 1
|
||||
#define AP_MOTORS_FRAME_DECA_ENABLED AP_MOTORS_FRAME_DEFAULT_ENABLED
|
||||
#endif
|
||||
#ifndef AP_MOTORS_FRAME_DODECAHEXA_ENABLED
|
||||
#define AP_MOTORS_FRAME_DODECAHEXA_ENABLED 1
|
||||
#define AP_MOTORS_FRAME_DODECAHEXA_ENABLED AP_MOTORS_FRAME_DEFAULT_ENABLED
|
||||
#endif
|
||||
#ifndef AP_MOTORS_FRAME_Y6_ENABLED
|
||||
#define AP_MOTORS_FRAME_Y6_ENABLED 1
|
||||
#define AP_MOTORS_FRAME_Y6_ENABLED AP_MOTORS_FRAME_DEFAULT_ENABLED
|
||||
#endif
|
||||
#ifndef AP_MOTORS_FRAME_OCTAQUAD_ENABLED
|
||||
#define AP_MOTORS_FRAME_OCTAQUAD_ENABLED 1
|
||||
#define AP_MOTORS_FRAME_OCTAQUAD_ENABLED AP_MOTORS_FRAME_DEFAULT_ENABLED
|
||||
#endif
|
||||
|
||||
// motor update rate
|
||||
|
Loading…
Reference in New Issue
Block a user