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

Fix channel override

This commit is contained in:
Pawel Spychalski (DzikuVx) 2020-11-25 21:23:37 +01:00
parent 9dea44a4da
commit 524e66b160
2 changed files with 4 additions and 5 deletions

View file

@ -628,14 +628,14 @@ void logicConditionUpdateTask(timeUs_t currentTimeUs) {
//Disable all flags
logicConditionsGlobalFlags = 0;
for (uint8_t i = 0; i < MAX_LOGIC_CONDITIONS; i++) {
logicConditionProcess(i);
}
for (uint8_t i = 0; i < MAX_SUPPORTED_RC_CHANNEL_COUNT; i++) {
rcChannelOverrides[i].active = false;
}
for (uint8_t i = 0; i < MAX_LOGIC_CONDITIONS; i++) {
logicConditionProcess(i);
}
#ifdef USE_I2C_IO_EXPANDER
ioPortExpanderSync();
#endif

View file

@ -69,7 +69,6 @@
#include "rx/uib_rx.h"
#include "rx/xbus.h"
//#define DEBUG_RX_SIGNAL_LOSS
const char rcChannelLetters[] = "AERT";