[Horus] Emergency mode + some simu refactoring to avoid duplicated code

This commit is contained in:
Bertrand Songis
2016-03-09 19:22:27 +01:00
parent 10d0c56b08
commit 473e69b3c3
9 changed files with 127 additions and 143 deletions
@@ -538,12 +538,12 @@ void OpenTxSimulator::start(const char * filename, bool tests)
StartEepromThread(filename);
StartAudioThread(volumeGain);
StartMainThread(tests);
StartSimu(tests);
}
void OpenTxSimulator::stop()
{
StopMainThread();
StopSimu();
#if defined(CPUARM)
StopAudioThread();
#endif