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:
+6
-1
@@ -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 ...
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user