mirror of
https://github.com/opentx/opentx.git
synced 2025-07-26 09:45:21 +03:00
Fixes #1440 - Logical switches state not reset after model load:
* logical switches reset not called anymore when user selects "Reset Flight", but only after model load * logical switches reset now includes a reset of switches state (set to false)
This commit is contained in:
parent
7d85d40f68
commit
30a68cf170
5 changed files with 40 additions and 5 deletions
|
@ -386,6 +386,7 @@ void eeLoadModel(uint8_t id)
|
|||
}
|
||||
|
||||
flightReset();
|
||||
logicalSwitchesReset();
|
||||
|
||||
if (pulsesStarted()) {
|
||||
checkAll();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue