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
+6 -2
View File
@@ -1686,8 +1686,12 @@ void menuProcLimits(uint8_t event)
uint8_t active = (attr && (s_editMode>0 || p1valdiff)) ;
switch(j)
{
case 0:
lcd_outdezAtt( 8*FW, y, ld->offset, attr|PREC1);
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);
#endif
if (active) {
ld->offset = checkIncDec(event, ld->offset, -1000, 1000, EE_MODEL|NO_INCDEC_MARKS);
}