[stock / M128 / gruvin9x] Problem when displaying GVx on AVR
This commit is contained in:
+2
-2
@@ -627,10 +627,10 @@ int8_t gvarMenuItem(uint8_t x, uint8_t y, int8_t value, int8_t min, int8_t max,
|
||||
eeDirty(EE_MODEL);
|
||||
}
|
||||
if (value >= 126 || value <= -126) {
|
||||
if (attr & LEFT) {
|
||||
if (attr & LEFT)
|
||||
attr -= LEFT; /* because of ZCHAR */
|
||||
else
|
||||
x -= 2*FW+FWNUM;
|
||||
}
|
||||
putsStrIdx(x, y, STR_GV, (uint8_t)value - 125, attr);
|
||||
if (invers) value = checkIncDec(event, (uint8_t)value, 126, 130, EE_MODEL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user