mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-14 11:59:56 +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
|
||||
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++) {
|
||||
logicConditionProcess(i);
|
||||
}
|
||||
|
||||
for (uint8_t i = 0; i < MAX_SUPPORTED_RC_CHANNEL_COUNT; i++) {
|
||||
rcChannelOverrides[i].active = false;
|
||||
}
|
||||
|
||||
#ifdef USE_I2C_IO_EXPANDER
|
||||
ioPortExpanderSync();
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue