LIMITS_US for offset, small wiki change

This commit is contained in:
gbirkus@gmail.com
2012-04-16 15:46:27 +00:00
parent 4d07444bc4
commit 8c6bf54cf9
+4
View File
@@ -1687,7 +1687,11 @@ void menuProcLimits(uint8_t event)
switch(j) switch(j)
{ {
case 0: case 0:
#ifdef LIMITS_US
lcd_outdezAtt( 8*FW, y, ((ld->offset)*128) / 25, attr|PREC1);
#else
lcd_outdezAtt( 8*FW, y, ld->offset, attr|PREC1); lcd_outdezAtt( 8*FW, y, ld->offset, attr|PREC1);
#endif
if (active) { if (active) {
ld->offset = checkIncDec(event, ld->offset, -1000, 1000, EE_MODEL|NO_INCDEC_MARKS); ld->offset = checkIncDec(event, ld->offset, -1000, 1000, EE_MODEL|NO_INCDEC_MARKS);
} }