Issue #592 - All boards will have this feature available, it costs only

50bytes on stock board (I saved more in this same branch)
This commit is contained in:
Bertrand Songis
2014-02-06 14:43:43 +01:00
parent 4a20329b2b
commit cae4d1ecf6
10 changed files with 67 additions and 67 deletions
+2 -2
View File
@@ -199,7 +199,7 @@ int ConvertSwitch_215_to_216(int swtch)
if (swtch <= SWSRC_LAST_SWITCH)
return swtch;
else
return swtch + 4 + (2*6); // 4 trims and 2 * 6-pos added as switches
return swtch + (2*4) + (2*6); // 4 trims and 2 * 6-pos added as switches
}
#else
inline int ConvertSwitch_215_to_216(int swtch)
@@ -207,7 +207,7 @@ inline int ConvertSwitch_215_to_216(int swtch)
if (swtch <= SWSRC_LAST_SWITCH)
return swtch;
else
return swtch + 4 + 1; // 4 trims and REa added
return swtch + (2*4) + 1; // 4 trims and REa added
}
#endif