[9X] Model not stored on EEPROM upon creation
When TEMPLATES option disabled...
This commit is contained in:
@@ -366,13 +366,15 @@ void defaultInputs()
|
|||||||
#if defined(TEMPLATES)
|
#if defined(TEMPLATES)
|
||||||
inline void applyDefaultTemplate()
|
inline void applyDefaultTemplate()
|
||||||
{
|
{
|
||||||
applyTemplate(TMPL_SIMPLE_4CH);
|
applyTemplate(TMPL_SIMPLE_4CH); // calls eeDirty internally
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
void applyDefaultTemplate()
|
void applyDefaultTemplate()
|
||||||
{
|
{
|
||||||
#if defined(VIRTUALINPUTS)
|
#if defined(VIRTUALINPUTS)
|
||||||
defaultInputs();
|
defaultInputs(); // calls eeDirty internally
|
||||||
|
#else
|
||||||
|
eeDirty(EE_MODEL);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
for (int i=0; i<NUM_STICKS; i++) {
|
for (int i=0; i<NUM_STICKS; i++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user