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
+7 -2
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();