1
0
Fork 0
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:
Damjan Adamic 2014-07-05 18:31:38 +02:00
parent 7d85d40f68
commit 30a68cf170
5 changed files with 40 additions and 5 deletions

View file

@ -386,6 +386,7 @@ void eeLoadModel(uint8_t id)
}
flightReset();
logicalSwitchesReset();
if (pulsesStarted()) {
checkAll();