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:
parent
9dea44a4da
commit
524e66b160
2 changed files with 4 additions and 5 deletions
|
@ -628,14 +628,14 @@ void logicConditionUpdateTask(timeUs_t currentTimeUs) {
|
||||||
//Disable all flags
|
//Disable all flags
|
||||||
logicConditionsGlobalFlags = 0;
|
logicConditionsGlobalFlags = 0;
|
||||||
|
|
||||||
|
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++) {
|
for (uint8_t i = 0; i < MAX_LOGIC_CONDITIONS; i++) {
|
||||||
logicConditionProcess(i);
|
logicConditionProcess(i);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (uint8_t i = 0; i < MAX_SUPPORTED_RC_CHANNEL_COUNT; i++) {
|
|
||||||
rcChannelOverrides[i].active = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef USE_I2C_IO_EXPANDER
|
#ifdef USE_I2C_IO_EXPANDER
|
||||||
ioPortExpanderSync();
|
ioPortExpanderSync();
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -69,7 +69,6 @@
|
||||||
#include "rx/uib_rx.h"
|
#include "rx/uib_rx.h"
|
||||||
#include "rx/xbus.h"
|
#include "rx/xbus.h"
|
||||||
|
|
||||||
|
|
||||||
//#define DEBUG_RX_SIGNAL_LOSS
|
//#define DEBUG_RX_SIGNAL_LOSS
|
||||||
|
|
||||||
const char rcChannelLetters[] = "AERT";
|
const char rcChannelLetters[] = "AERT";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue