@@ -36,10 +36,9 @@ void setDefaultInputs()
|
|||||||
expo->chn = i;
|
expo->chn = i;
|
||||||
expo->weight = 100;
|
expo->weight = 100;
|
||||||
expo->mode = 3; // TODO constant
|
expo->mode = 3; // TODO constant
|
||||||
strncpy(g_model.inputNames[i], STR_VSRCRAW[stick_index] + 1, 3);
|
strncpy(g_model.inputNames[i],
|
||||||
#if LEN_INPUT_NAME > 3
|
STR_VSRCRAW[stick_index] + sizeof(STR_CHAR_STICK) - 1,
|
||||||
g_model.inputNames[i][3] = '\0';
|
LEN_INPUT_NAME);
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
storageDirty(EE_MODEL);
|
storageDirty(EE_MODEL);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user