[Companion] Old EEPROM support removed
This commit is contained in:
@@ -29,15 +29,15 @@ telemetryStreaming = 20;
|
||||
|
||||
#ifdef SETVALUES_IMPORT
|
||||
#undef SETVALUES_IMPORT
|
||||
for (int i=0; i<NUM_STICKS; i++)
|
||||
for (int i=0; i<CPN_MAX_STICKS; i++)
|
||||
g_anas[i] = inputs.sticks[i];
|
||||
for (int i=0; i<NUM_POTS+NUM_SLIDERS; i++)
|
||||
g_anas[NUM_STICKS+i] = inputs.pots[i];
|
||||
for (int i=0; i<C9X_NUM_SWITCHES; i++)
|
||||
g_anas[CPN_MAX_STICKS+i] = inputs.pots[i];
|
||||
for (int i=0; i<CPN_MAX_SWITCHES; i++)
|
||||
simuSetSwitch(i, inputs.switches[i]);
|
||||
for (int i=0; i<C9X_NUM_KEYS; i++)
|
||||
for (int i=0; i<CPN_MAX_KEYS; i++)
|
||||
simuSetKey(i, inputs.keys[i]);
|
||||
for (int i=0; i<(NUM_STICKS+NUM_AUX_TRIMS)*2; i++)
|
||||
for (int i=0; i<(CPN_MAX_STICKS+NUM_AUX_TRIMS)*2; i++)
|
||||
simuSetTrim(i, inputs.trims[i]);
|
||||
|
||||
#ifdef PCBGRUVIN9X
|
||||
|
||||
Reference in New Issue
Block a user