1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-15 04:15:38 +03:00

Merge pull request #8186 from iNavFlight/release_5.1.0

INAV 5.1.0 Release branch
This commit is contained in:
Paweł Spychalski 2022-08-22 21:23:52 +02:00 committed by GitHub
commit a38bce9b1a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 1010 additions and 21 deletions

View file

@ -35,6 +35,7 @@
#include "rx/rx.h"
#include "common/maths.h"
#include "fc/config.h"
#include "fc/cli.h"
#include "fc/fc_core.h"
#include "fc/rc_controls.h"
#include "fc/runtime_config.h"
@ -411,7 +412,7 @@ void logicConditionProcess(uint8_t i) {
const int activatorValue = logicConditionGetValue(logicConditions(i)->activatorId);
if (logicConditions(i)->enabled && activatorValue) {
if (logicConditions(i)->enabled && activatorValue && !cliMode) {
/*
* Process condition only when latch flag is not set