mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 00:05:33 +03:00
Added flight3DConfig() macro
This commit is contained in:
parent
6ccf11d518
commit
dc9e773b02
7 changed files with 19 additions and 18 deletions
|
@ -898,7 +898,7 @@ bool inMotorTestMode(void) {
|
|||
static uint32_t resetTime = 0;
|
||||
uint16_t inactiveMotorCommand;
|
||||
if (feature(FEATURE_3D)) {
|
||||
inactiveMotorCommand = masterConfig.flight3DConfig.neutral3d;
|
||||
inactiveMotorCommand = flight3DConfig()->neutral3d;
|
||||
#ifdef USE_DSHOT
|
||||
} else if (isMotorProtocolDshot()) {
|
||||
inactiveMotorCommand = DSHOT_DISARM_COMMAND;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue