🎨 Macros for optional arguments (#21969)
This commit is contained in:
committed by
Scott Lahteine
parent
61f2bb1228
commit
e75c3b6c54
@ -724,11 +724,7 @@ static void moveAxis(const AxisEnum axis, const int8_t direction) {
|
||||
drawMessage(msg);
|
||||
#endif
|
||||
|
||||
ui.manual_move.soon(axis
|
||||
#if MULTI_E_MANUAL
|
||||
, motionAxisState.e_selection
|
||||
#endif
|
||||
);
|
||||
ui.manual_move.soon(axis OPTARG(MULTI_E_MANUAL, motionAxisState.e_selection));
|
||||
}
|
||||
|
||||
drawAxisValue(axis);
|
||||
|
@ -709,11 +709,7 @@ static void moveAxis(const AxisEnum axis, const int8_t direction) {
|
||||
drawMessage(msg);
|
||||
#endif
|
||||
|
||||
ui.manual_move.soon(axis
|
||||
#if MULTI_E_MANUAL
|
||||
, motionAxisState.e_selection
|
||||
#endif
|
||||
);
|
||||
ui.manual_move.soon(axis OPTARG(MULTI_E_MANUAL, motionAxisState.e_selection));
|
||||
}
|
||||
|
||||
drawAxisValue(axis);
|
||||
|
@ -711,11 +711,7 @@ static void moveAxis(const AxisEnum axis, const int8_t direction) {
|
||||
drawMessage(msg);
|
||||
#endif
|
||||
|
||||
ui.manual_move.soon(axis
|
||||
#if MULTI_E_MANUAL
|
||||
, motionAxisState.e_selection
|
||||
#endif
|
||||
);
|
||||
ui.manual_move.soon(axis OPTARG(MULTI_E_MANUAL, motionAxisState.e_selection));
|
||||
}
|
||||
|
||||
drawAxisValue(axis);
|
||||
|
Reference in New Issue
Block a user