No THR warning when a new model is created / the wizard is called
This commit is contained in:
@@ -964,9 +964,12 @@ void eeLoadModel(uint8_t id)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
bool newModel = false;
|
||||||
|
|
||||||
if (sz < 256) {
|
if (sz < 256) {
|
||||||
modelDefault(id);
|
modelDefault(id);
|
||||||
eeCheck(true);
|
eeCheck(true);
|
||||||
|
newModel = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
AUDIO_FLUSH();
|
AUDIO_FLUSH();
|
||||||
@@ -974,7 +977,9 @@ void eeLoadModel(uint8_t id)
|
|||||||
logicalSwitchesReset();
|
logicalSwitchesReset();
|
||||||
|
|
||||||
if (pulsesStarted()) {
|
if (pulsesStarted()) {
|
||||||
checkAll();
|
if (!newModel) {
|
||||||
|
checkAll();
|
||||||
|
}
|
||||||
resumePulses();
|
resumePulses();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user