Radio init / masstorage start / massstorage end / shutdown sequences … (#3674)

* Radio init / masstorage start / massstorage end / shutdown sequences reordering:

- More traces
- Fixes #3642
- Reuses idea of #3662

Still not finished and completely untested

* More traces

* Compilation fix

* Reuses the idea of #3652

* Alarms were checked 2 times on massstorage end
This commit is contained in:
Bertrand Songis
2016-08-01 18:39:34 +02:00
committed by GitHub
parent 6c34752907
commit 6d2c5a4db6
16 changed files with 109 additions and 63 deletions
+2 -2
View File
@@ -56,14 +56,14 @@ void preModelLoad()
pauseMixerCalculations();
}
void postModelLoad(bool newModel)
void postModelLoad(bool alarms)
{
AUDIO_FLUSH();
flightReset(false);
if (pulsesStarted()) {
#if defined(GUI)
if (!newModel) {
if (alarms) {
checkAll();
}
#endif