Issue 83 fixed

Problem with wav files played twice when loading a model
Different EEPROM format for Expos/DRs on ARM
Issue 102 fixed
This commit is contained in:
bsongis
2012-08-21 20:54:48 +00:00
parent 223c0645e8
commit bf2055e1ad
9 changed files with 107 additions and 67 deletions
+6 -1
View File
@@ -466,7 +466,7 @@ bool ee32LoadGeneral()
void eeLoadModel(uint8_t id)
{
uint16_t size ;
uint16_t size;
if (id<MAX_MODELS) {
@@ -474,6 +474,8 @@ void eeLoadModel(uint8_t id)
pausePulses();
}
pauseMixerCalculations();
size = File_system[id+1].size ;
memset(&g_model, 0, sizeof(g_model));
@@ -508,6 +510,9 @@ void eeLoadModel(uint8_t id)
resetProto();
resetAll();
resumeMixerCalculations();
// TODO pulses should be started after mixer calculations ...
}
}