Fixes #1042
Merge pull request #1078 from opentx/projectkk2glider/flightmode_simulator_issue_1042

Fixes #1042