|
|
@ -46,9 +46,9 @@ void MaxVelocityScreen::onRedraw(draw_mode_t what) { |
|
|
|
w.color(e_axis) .adjuster( 10, F(STR_E1), getAxisMaxFeedrate_mm_s(E1) ); |
|
|
|
#if EXTRUDERS > 2 |
|
|
|
w.color(e_axis).adjuster( 12, F(STR_E2), getAxisMaxFeedrate_mm_s(E2) ); |
|
|
|
#endif |
|
|
|
#if EXTRUDERS > 3 |
|
|
|
w.color(e_axis).adjuster( 14, F(STR_E3), getAxisMaxFeedrate_mm_s(E3) ); |
|
|
|
#if EXTRUDERS > 3 |
|
|
|
w.color(e_axis).adjuster( 14, F(STR_E3), getAxisMaxFeedrate_mm_s(E3) ); |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
w.increments(); |
|
|
@ -63,24 +63,23 @@ bool MaxVelocityScreen::onTouchHeld(uint8_t tag) { |
|
|
|
case 5: UI_INCREMENT(AxisMaxFeedrate_mm_s, Y); break; |
|
|
|
case 6: UI_DECREMENT(AxisMaxFeedrate_mm_s, Z); break; |
|
|
|
case 7: UI_INCREMENT(AxisMaxFeedrate_mm_s, Z); break; |
|
|
|
#if DISTINCT_E > 0 |
|
|
|
case 8: UI_DECREMENT(AxisMaxFeedrate_mm_s, E0); break; |
|
|
|
case 9: UI_INCREMENT(AxisMaxFeedrate_mm_s, E0); break; |
|
|
|
#endif |
|
|
|
#if DISTINCT_E > 1 |
|
|
|
case 10: UI_DECREMENT(AxisMaxFeedrate_mm_s, E1); break; |
|
|
|
case 11: UI_INCREMENT(AxisMaxFeedrate_mm_s, E1); break; |
|
|
|
#endif |
|
|
|
#if DISTINCT_E > 2 |
|
|
|
case 12: UI_DECREMENT(AxisMaxFeedrate_mm_s, E2); break; |
|
|
|
case 13: UI_INCREMENT(AxisMaxFeedrate_mm_s, E2); break; |
|
|
|
#endif |
|
|
|
#if DISTINCT_E > 3 |
|
|
|
case 14: UI_DECREMENT(AxisMaxFeedrate_mm_s, E3); break; |
|
|
|
case 15: UI_INCREMENT(AxisMaxFeedrate_mm_s, E3); break; |
|
|
|
#if DISTINCT_E |
|
|
|
case 8: UI_DECREMENT(AxisMaxFeedrate_mm_s, E0); break; |
|
|
|
case 9: UI_INCREMENT(AxisMaxFeedrate_mm_s, E0); break; |
|
|
|
#if DISTINCT_E > 1 |
|
|
|
case 10: UI_DECREMENT(AxisMaxFeedrate_mm_s, E1); break; |
|
|
|
case 11: UI_INCREMENT(AxisMaxFeedrate_mm_s, E1); break; |
|
|
|
#if DISTINCT_E > 2 |
|
|
|
case 12: UI_DECREMENT(AxisMaxFeedrate_mm_s, E2); break; |
|
|
|
case 13: UI_INCREMENT(AxisMaxFeedrate_mm_s, E2); break; |
|
|
|
#if DISTINCT_E > 3 |
|
|
|
case 14: UI_DECREMENT(AxisMaxFeedrate_mm_s, E3); break; |
|
|
|
case 15: UI_INCREMENT(AxisMaxFeedrate_mm_s, E3); break; |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
default: |
|
|
|
return false; |
|
|
|
default: return false; |
|
|
|
} |
|
|
|
SaveSettingsDialogBox::settingsChanged(); |
|
|
|
return true; |
|
|
|