[all] Now 5 Global Variables available on all boards

This commit is contained in:
bsongis
2012-10-15 20:13:06 +00:00
parent cd995aa975
commit bca4660742
4 changed files with 18 additions and 18 deletions
+4 -4
View File
@@ -2651,9 +2651,9 @@ void menuModelFunctionSwitches(uint8_t event)
}
#endif
#if defined(GVARS)
else if (sd->func >= FUNC_GVAR_X1) {
func_displayed = FUNC_GVAR_X1 - 16 - NUM_STICKS + 1;
putsStrIdx(12*FW-2, y, STR_GV, sd->func-FUNC_GVAR_X1+1, attr);
else if (sd->func >= FUNC_ADJUST_GV1) {
func_displayed = FUNC_ADJUST_GV1 - 16 - NUM_STICKS + 1;
putsStrIdx(12*FW-2, y, STR_GV, sd->func-FUNC_ADJUST_GV1+1, attr);
}
#endif
else {
@@ -2743,7 +2743,7 @@ void menuModelFunctionSwitches(uint8_t event)
lcd_outdezAtt(18*FW, y, val_displayed, attr);
}
#if defined(GVARS)
else if (sd->func >= FUNC_GVAR_X1
else if (sd->func >= FUNC_ADJUST_GV1
#if defined(DEBUG)
&& sd->func != FUNC_TEST
#endif