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