1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-24 08:45:24 +03:00

Fixes #3937: When executed from Special Functions, Flight Reset cause… (#3942)

* Fixes #3937: When executed from Special Functions, Flight Reset caused a GUI lockup

* Cosmetics
This commit is contained in:
Damjan Adamic 2016-10-21 12:16:33 +02:00 committed by Andre Bernet
parent 81e9fe5201
commit f4b54ea332
4 changed files with 27 additions and 14 deletions

View file

@ -1347,8 +1347,13 @@ void clearMFP();
extern uint8_t requiredSpeakerVolume;
#endif
#if defined(PCBTARANIS)
extern uint8_t requestScreenshot;
#if defined(CPUARM)
enum MainRequest {
REQUEST_SCREENSHOT,
REQUEST_FLIGHT_RESET,
};
extern uint8_t mainRequestFlags;
#endif
void checkBattery();