mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-25 17:25:18 +03:00
docs (+25 squashed commit)
Squashed commit: [51a36e00b] faster updates [7fed94eae] some cleanup [ea00282b2] make into feature and add constraint [a2bdfab5a] require sticks centered [19c5c8773] defaults [191ebe04f] fix bug [a50a11de7] fix a dumb bug [92d6760b7] use same servo selection logic for regular autotrim [d4a389f78] minor cleanup [999b968b2] build error [a1c25b474] don't update trims when gps heading is not valid to avoid changing trims when on the ground [317bca1f1] add check on ratetarget for when flying in other modes than acro [8abd5682e] use time since last arm instead of total arm time since boot [cf3179325] setting name [78b00bb0f] comment to force new GH check [e5527a9f4] build error [6d0e09938] change setting name [3824ce3f7] more docs [9e04b5b25] docs [591cade68] transfer I-term to servo midpoint [ad97f692d] fix mode [2d7438b4c] merge conflicts [290288203] change rotation threshold [6fc3676cf] always the docs... [48ba7b7ae] Automatic servo trim
This commit is contained in:
parent
e5dae31be1
commit
235b02081f
15 changed files with 217 additions and 20 deletions
|
@ -90,6 +90,7 @@ static const box_t boxes[CHECKBOX_ITEM_COUNT + 1] = {
|
|||
{ BOXMSPRCOVERRIDE, "MSP RC OVERRIDE", 50 },
|
||||
{ BOXPREARM, "PREARM", 51 },
|
||||
{ BOXFLIPOVERAFTERCRASH, "TURTLE", 52 },
|
||||
{ BOXCONTAUTOTRIM, "CONTINUOUS AUTOTRIM", 53 },
|
||||
{ CHECKBOX_ITEM_COUNT, NULL, 0xFF }
|
||||
};
|
||||
|
||||
|
@ -240,7 +241,12 @@ void initActiveBoxIds(void)
|
|||
if (!feature(FEATURE_FW_LAUNCH)) {
|
||||
activeBoxIds[activeBoxIdCount++] = BOXNAVLAUNCH;
|
||||
}
|
||||
activeBoxIds[activeBoxIdCount++] = BOXAUTOTRIM;
|
||||
|
||||
if (!feature(FEATURE_FW_AUTOTRIM)) {
|
||||
activeBoxIds[activeBoxIdCount++] = BOXAUTOTRIM;
|
||||
activeBoxIds[activeBoxIdCount++] = BOXCONTAUTOTRIM;
|
||||
}
|
||||
|
||||
#if defined(USE_AUTOTUNE_FIXED_WING)
|
||||
activeBoxIds[activeBoxIdCount++] = BOXAUTOTUNE;
|
||||
#endif
|
||||
|
@ -373,6 +379,7 @@ void packBoxModeFlags(boxBitmask_t * mspBoxModeFlags)
|
|||
#if defined(USE_RX_MSP) && defined(USE_MSP_RC_OVERRIDE)
|
||||
CHECK_ACTIVE_BOX(IS_ENABLED(IS_RC_MODE_ACTIVE(BOXMSPRCOVERRIDE)), BOXMSPRCOVERRIDE);
|
||||
#endif
|
||||
CHECK_ACTIVE_BOX(IS_ENABLED(IS_RC_MODE_ACTIVE(BOXCONTAUTOTRIM)), BOXCONTAUTOTRIM);
|
||||
|
||||
memset(mspBoxModeFlags, 0, sizeof(boxBitmask_t));
|
||||
for (uint32_t i = 0; i < activeBoxIdCount; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue