working menu structure

This commit is contained in:
Ronald Schaten 2022-02-04 23:05:54 +01:00
parent f66e1add84
commit 78e61464a5

View File

@ -81,10 +81,26 @@ result enter_jog() {
return proceed;
}
MENU(configuration, "Configuration", doNothing, anyEvent, wrapStyle
,OP("tSettle", doNothing, noEvent)
,OP("tFocus", doNothing, noEvent)
,OP("tShutter", doNothing, noEvent)
,OP("Return", doNothing, noEvent)
,OP("LcdBlackout", doNothing, noEvent)
,EXIT("<Back")
);
MENU(scene, "Scene", doNothing, anyEvent, wrapStyle
,OP("nSteps", doNothing, noEvent)
,OP("Distance", doNothing, noEvent)
,EXIT("<Back")
);
MENU(mainMenu, "PhotoStepper", doNothing, noEvent, wrapStyle
,OP("Jog", enter_jog, enterEvent)
,OP("Sub1", doNothing, noEvent)
,OP("Sub2", doNothing, noEvent)
,SUBMENU(configuration)
,SUBMENU(scene)
,OP("Run", doNothing, noEvent)
);
MENU_OUTPUTS(out, MAX_DEPTH