fix field steps and string length

This commit is contained in:
Ronald Schaten 2022-02-06 18:31:08 +01:00
parent e5d127d62b
commit b9d2643390

View File

@ -88,14 +88,14 @@ int tSettle = 100;
int tFocus = 500; int tFocus = 500;
int tShutter = 500; int tShutter = 500;
bool bReturn = true; bool bReturn = true;
bool bLcdBlackout = true; bool bDarkenLcd = true;
TOGGLE(bReturn, setReturn, "Return: ", doNothing, noEvent, wrapStyle TOGGLE(bReturn, setReturn, "Return: ", doNothing, noEvent, wrapStyle
,VALUE("On", true, doNothing, noEvent) ,VALUE("On", true, doNothing, noEvent)
,VALUE("Off", false, doNothing, noEvent) ,VALUE("Off", false, doNothing, noEvent)
); );
TOGGLE(bLcdBlackout, setLcdBlackout, "LCD Blackout: ", doNothing, noEvent, wrapStyle TOGGLE(bDarkenLcd, setLcdBlackout, "DarkenLCD: ", doNothing, noEvent, wrapStyle
,VALUE("On", true, doNothing, noEvent) ,VALUE("On", true, doNothing, noEvent)
,VALUE("Off", false, doNothing, noEvent) ,VALUE("Off", false, doNothing, noEvent)
); );
@ -105,8 +105,8 @@ MENU(configuration, "Configuration", doNothing, anyEvent, wrapStyle
,EXIT("<Back") ,EXIT("<Back")
,SUBMENU(setLcdBlackout) ,SUBMENU(setLcdBlackout)
,SUBMENU(setReturn) ,SUBMENU(setReturn)
,FIELD(tShutter, "tShutter", "ms", 0, 2000, 500, 10, doNothing, noEvent, wrapStyle) ,FIELD(tShutter, "tShutter", "ms", 0, 2000, 100, 10, doNothing, noEvent, wrapStyle)
,FIELD(tFocus, "tFocus", "ms", 0, 2000, 500, 10, doNothing, noEvent, wrapStyle) ,FIELD(tFocus, "tFocus", "ms", 0, 2000, 100, 10, doNothing, noEvent, wrapStyle)
); );
int nSteps = 10; int nSteps = 10;