|
@@ -53,10 +53,6 @@
|
53
|
53
|
#include "../../libs/duration_t.h"
|
54
|
54
|
#endif
|
55
|
55
|
|
56
|
|
-#if ENABLED(BLTOUCH)
|
57
|
|
- #include "../../module/endstops.h"
|
58
|
|
-#endif
|
59
|
|
-
|
60
|
56
|
#if HAS_LEVELING
|
61
|
57
|
#include "../../feature/bedlevel/bedlevel.h"
|
62
|
58
|
#endif
|
|
@@ -92,10 +88,6 @@ int32_t minEditValue, maxEditValue;
|
92
|
88
|
screenFunc_t callbackFunc;
|
93
|
89
|
bool liveEdit;
|
94
|
90
|
|
95
|
|
-#if ENABLED(PIDTEMP)
|
96
|
|
- float raw_Ki, raw_Kd; // place-holders for Ki and Kd edits
|
97
|
|
-#endif
|
98
|
|
-
|
99
|
91
|
bool no_reentry = false;
|
100
|
92
|
|
101
|
93
|
// Initialized by settings.load()
|
|
@@ -251,10 +243,6 @@ void menu_action_setting_edit_callback_bool(PGM_P pstr, bool* ptr, screenFunc_t
|
251
|
243
|
///////////////// Menu Tree ////////////////
|
252
|
244
|
////////////////////////////////////////////
|
253
|
245
|
|
254
|
|
-#if DISABLED(NO_VOLUMETRICS) || ENABLED(ADVANCED_PAUSE_FEATURE)
|
255
|
|
- void menu_advanced_filament();
|
256
|
|
-#endif
|
257
|
|
-
|
258
|
246
|
#if ENABLED(ADVANCED_PAUSE_FEATURE)
|
259
|
247
|
#if E_STEPPERS > 1 || ENABLED(FILAMENT_LOAD_UNLOAD_GCODES)
|
260
|
248
|
void menu_change_filament();
|
|
@@ -661,18 +649,6 @@ void watch_temp_callback_bed() {
|
661
|
649
|
#if ENABLED(EEPROM_SETTINGS)
|
662
|
650
|
void lcd_store_settings() { lcd_completion_feedback(settings.save()); }
|
663
|
651
|
void lcd_load_settings() { lcd_completion_feedback(settings.load()); }
|
664
|
|
- #if DISABLED(SLIM_LCD_MENUS)
|
665
|
|
- static void lcd_init_eeprom() {
|
666
|
|
- lcd_completion_feedback(settings.init_eeprom());
|
667
|
|
- lcd_goto_previous_menu();
|
668
|
|
- }
|
669
|
|
- static void lcd_init_eeprom_confirm() {
|
670
|
|
- START_MENU();
|
671
|
|
- MENU_BACK(MSG_ADVANCED_SETTINGS);
|
672
|
|
- MENU_ITEM(function, MSG_INIT_EEPROM, lcd_init_eeprom);
|
673
|
|
- END_MENU();
|
674
|
|
- }
|
675
|
|
- #endif
|
676
|
652
|
#endif
|
677
|
653
|
|
678
|
654
|
void _lcd_draw_homing() {
|
|
@@ -783,578 +759,6 @@ void _lcd_draw_homing() {
|
783
|
759
|
|
784
|
760
|
#endif // DELTA_CALIBRATION_MENU || DELTA_AUTO_CALIBRATION
|
785
|
761
|
|
786
|
|
-/**
|
787
|
|
- *
|
788
|
|
- * "Temperature" submenu
|
789
|
|
- *
|
790
|
|
- */
|
791
|
|
-
|
792
|
|
-#if ENABLED(PID_AUTOTUNE_MENU)
|
793
|
|
-
|
794
|
|
- #if ENABLED(PIDTEMP)
|
795
|
|
- int16_t autotune_temp[HOTENDS] = ARRAY_BY_HOTENDS1(150);
|
796
|
|
- #endif
|
797
|
|
-
|
798
|
|
- #if ENABLED(PIDTEMPBED)
|
799
|
|
- int16_t autotune_temp_bed = 70;
|
800
|
|
- #endif
|
801
|
|
-
|
802
|
|
- void _lcd_autotune(int16_t e) {
|
803
|
|
- char cmd[30];
|
804
|
|
- sprintf_P(cmd, PSTR("M303 U1 E%i S%i"), e,
|
805
|
|
- #if HAS_PID_FOR_BOTH
|
806
|
|
- e < 0 ? autotune_temp_bed : autotune_temp[e]
|
807
|
|
- #elif ENABLED(PIDTEMPBED)
|
808
|
|
- autotune_temp_bed
|
809
|
|
- #else
|
810
|
|
- autotune_temp[e]
|
811
|
|
- #endif
|
812
|
|
- );
|
813
|
|
- lcd_enqueue_command(cmd);
|
814
|
|
- }
|
815
|
|
-
|
816
|
|
-#endif // PID_AUTOTUNE_MENU
|
817
|
|
-
|
818
|
|
-#if ENABLED(PIDTEMP)
|
819
|
|
-
|
820
|
|
- // Helpers for editing PID Ki & Kd values
|
821
|
|
- // grab the PID value out of the temp variable; scale it; then update the PID driver
|
822
|
|
- void copy_and_scalePID_i(int16_t e) {
|
823
|
|
- #if DISABLED(PID_PARAMS_PER_HOTEND) || HOTENDS == 1
|
824
|
|
- UNUSED(e);
|
825
|
|
- #endif
|
826
|
|
- PID_PARAM(Ki, e) = scalePID_i(raw_Ki);
|
827
|
|
- thermalManager.updatePID();
|
828
|
|
- }
|
829
|
|
- void copy_and_scalePID_d(int16_t e) {
|
830
|
|
- #if DISABLED(PID_PARAMS_PER_HOTEND) || HOTENDS == 1
|
831
|
|
- UNUSED(e);
|
832
|
|
- #endif
|
833
|
|
- PID_PARAM(Kd, e) = scalePID_d(raw_Kd);
|
834
|
|
- thermalManager.updatePID();
|
835
|
|
- }
|
836
|
|
- #define _DEFINE_PIDTEMP_BASE_FUNCS(N) \
|
837
|
|
- void copy_and_scalePID_i_E ## N() { copy_and_scalePID_i(N); } \
|
838
|
|
- void copy_and_scalePID_d_E ## N() { copy_and_scalePID_d(N); }
|
839
|
|
-
|
840
|
|
- #if ENABLED(PID_AUTOTUNE_MENU)
|
841
|
|
- #define DEFINE_PIDTEMP_FUNCS(N) \
|
842
|
|
- _DEFINE_PIDTEMP_BASE_FUNCS(N); \
|
843
|
|
- void lcd_autotune_callback_E ## N() { _lcd_autotune(N); } typedef void _pid_##N##_void
|
844
|
|
- #else
|
845
|
|
- #define DEFINE_PIDTEMP_FUNCS(N) _DEFINE_PIDTEMP_BASE_FUNCS(N) typedef void _pid_##N##_void
|
846
|
|
- #endif
|
847
|
|
-
|
848
|
|
- DEFINE_PIDTEMP_FUNCS(0);
|
849
|
|
- #if ENABLED(PID_PARAMS_PER_HOTEND)
|
850
|
|
- #if HOTENDS > 1
|
851
|
|
- DEFINE_PIDTEMP_FUNCS(1);
|
852
|
|
- #if HOTENDS > 2
|
853
|
|
- DEFINE_PIDTEMP_FUNCS(2);
|
854
|
|
- #if HOTENDS > 3
|
855
|
|
- DEFINE_PIDTEMP_FUNCS(3);
|
856
|
|
- #if HOTENDS > 4
|
857
|
|
- DEFINE_PIDTEMP_FUNCS(4);
|
858
|
|
- #if HOTENDS > 5
|
859
|
|
- DEFINE_PIDTEMP_FUNCS(5);
|
860
|
|
- #endif // HOTENDS > 5
|
861
|
|
- #endif // HOTENDS > 4
|
862
|
|
- #endif // HOTENDS > 3
|
863
|
|
- #endif // HOTENDS > 2
|
864
|
|
- #endif // HOTENDS > 1
|
865
|
|
- #endif // PID_PARAMS_PER_HOTEND
|
866
|
|
-
|
867
|
|
-#endif // PIDTEMP
|
868
|
|
-
|
869
|
|
-/**
|
870
|
|
- *
|
871
|
|
- * "Advanced Settings" -> "Temperature" submenu
|
872
|
|
- *
|
873
|
|
- */
|
874
|
|
-void menu_advanced_temperature() {
|
875
|
|
- START_MENU();
|
876
|
|
- MENU_BACK(MSG_ADVANCED_SETTINGS);
|
877
|
|
- //
|
878
|
|
- // Autotemp, Min, Max, Fact
|
879
|
|
- //
|
880
|
|
- #if ENABLED(AUTOTEMP) && HAS_TEMP_HOTEND
|
881
|
|
- MENU_ITEM_EDIT(bool, MSG_AUTOTEMP, &planner.autotemp_enabled);
|
882
|
|
- MENU_ITEM_EDIT(float3, MSG_MIN, &planner.autotemp_min, 0, float(HEATER_0_MAXTEMP) - 15);
|
883
|
|
- MENU_ITEM_EDIT(float3, MSG_MAX, &planner.autotemp_max, 0, float(HEATER_0_MAXTEMP) - 15);
|
884
|
|
- MENU_ITEM_EDIT(float52, MSG_FACTOR, &planner.autotemp_factor, 0, 1);
|
885
|
|
- #endif
|
886
|
|
-
|
887
|
|
- //
|
888
|
|
- // PID-P, PID-I, PID-D, PID-C, PID Autotune
|
889
|
|
- // PID-P E1, PID-I E1, PID-D E1, PID-C E1, PID Autotune E1
|
890
|
|
- // PID-P E2, PID-I E2, PID-D E2, PID-C E2, PID Autotune E2
|
891
|
|
- // PID-P E3, PID-I E3, PID-D E3, PID-C E3, PID Autotune E3
|
892
|
|
- // PID-P E4, PID-I E4, PID-D E4, PID-C E4, PID Autotune E4
|
893
|
|
- // PID-P E5, PID-I E5, PID-D E5, PID-C E5, PID Autotune E5
|
894
|
|
- //
|
895
|
|
- #if ENABLED(PIDTEMP)
|
896
|
|
-
|
897
|
|
- #define _PID_BASE_MENU_ITEMS(ELABEL, eindex) \
|
898
|
|
- raw_Ki = unscalePID_i(PID_PARAM(Ki, eindex)); \
|
899
|
|
- raw_Kd = unscalePID_d(PID_PARAM(Kd, eindex)); \
|
900
|
|
- MENU_ITEM_EDIT(float52sign, MSG_PID_P ELABEL, &PID_PARAM(Kp, eindex), 1, 9990); \
|
901
|
|
- MENU_ITEM_EDIT_CALLBACK(float52sign, MSG_PID_I ELABEL, &raw_Ki, 0.01f, 9990, copy_and_scalePID_i_E ## eindex); \
|
902
|
|
- MENU_ITEM_EDIT_CALLBACK(float52sign, MSG_PID_D ELABEL, &raw_Kd, 1, 9990, copy_and_scalePID_d_E ## eindex)
|
903
|
|
-
|
904
|
|
- #if ENABLED(PID_EXTRUSION_SCALING)
|
905
|
|
- #define _PID_MENU_ITEMS(ELABEL, eindex) \
|
906
|
|
- _PID_BASE_MENU_ITEMS(ELABEL, eindex); \
|
907
|
|
- MENU_ITEM_EDIT(float3, MSG_PID_C ELABEL, &PID_PARAM(Kc, eindex), 1, 9990)
|
908
|
|
- #else
|
909
|
|
- #define _PID_MENU_ITEMS(ELABEL, eindex) _PID_BASE_MENU_ITEMS(ELABEL, eindex)
|
910
|
|
- #endif
|
911
|
|
-
|
912
|
|
- #if ENABLED(PID_AUTOTUNE_MENU)
|
913
|
|
- #define PID_MENU_ITEMS(ELABEL, eindex) \
|
914
|
|
- _PID_MENU_ITEMS(ELABEL, eindex); \
|
915
|
|
- MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(int3, MSG_PID_AUTOTUNE ELABEL, &autotune_temp[eindex], 150, heater_maxtemp[eindex] - 15, lcd_autotune_callback_E ## eindex)
|
916
|
|
- #else
|
917
|
|
- #define PID_MENU_ITEMS(ELABEL, eindex) _PID_MENU_ITEMS(ELABEL, eindex)
|
918
|
|
- #endif
|
919
|
|
-
|
920
|
|
- #if ENABLED(PID_PARAMS_PER_HOTEND) && HOTENDS > 1
|
921
|
|
- PID_MENU_ITEMS(" " MSG_E1, 0);
|
922
|
|
- PID_MENU_ITEMS(" " MSG_E2, 1);
|
923
|
|
- #if HOTENDS > 2
|
924
|
|
- PID_MENU_ITEMS(" " MSG_E3, 2);
|
925
|
|
- #if HOTENDS > 3
|
926
|
|
- PID_MENU_ITEMS(" " MSG_E4, 3);
|
927
|
|
- #if HOTENDS > 4
|
928
|
|
- PID_MENU_ITEMS(" " MSG_E5, 4);
|
929
|
|
- #if HOTENDS > 5
|
930
|
|
- PID_MENU_ITEMS(" " MSG_E6, 5);
|
931
|
|
- #endif // HOTENDS > 5
|
932
|
|
- #endif // HOTENDS > 4
|
933
|
|
- #endif // HOTENDS > 3
|
934
|
|
- #endif // HOTENDS > 2
|
935
|
|
- #else // !PID_PARAMS_PER_HOTEND || HOTENDS == 1
|
936
|
|
- PID_MENU_ITEMS("", 0);
|
937
|
|
- #endif // !PID_PARAMS_PER_HOTEND || HOTENDS == 1
|
938
|
|
-
|
939
|
|
- #endif // PIDTEMP
|
940
|
|
-
|
941
|
|
- END_MENU();
|
942
|
|
-}
|
943
|
|
-
|
944
|
|
-#if DISABLED(SLIM_LCD_MENUS)
|
945
|
|
-
|
946
|
|
- void _reset_acceleration_rates() { planner.reset_acceleration_rates(); }
|
947
|
|
- #if ENABLED(DISTINCT_E_FACTORS)
|
948
|
|
- void _reset_e_acceleration_rate(const uint8_t e) { if (e == active_extruder) _reset_acceleration_rates(); }
|
949
|
|
- void _reset_e0_acceleration_rate() { _reset_e_acceleration_rate(0); }
|
950
|
|
- void _reset_e1_acceleration_rate() { _reset_e_acceleration_rate(1); }
|
951
|
|
- #if E_STEPPERS > 2
|
952
|
|
- void _reset_e2_acceleration_rate() { _reset_e_acceleration_rate(2); }
|
953
|
|
- #if E_STEPPERS > 3
|
954
|
|
- void _reset_e3_acceleration_rate() { _reset_e_acceleration_rate(3); }
|
955
|
|
- #if E_STEPPERS > 4
|
956
|
|
- void _reset_e4_acceleration_rate() { _reset_e_acceleration_rate(4); }
|
957
|
|
- #if E_STEPPERS > 5
|
958
|
|
- void _reset_e5_acceleration_rate() { _reset_e_acceleration_rate(5); }
|
959
|
|
- #endif // E_STEPPERS > 5
|
960
|
|
- #endif // E_STEPPERS > 4
|
961
|
|
- #endif // E_STEPPERS > 3
|
962
|
|
- #endif // E_STEPPERS > 2
|
963
|
|
- #endif
|
964
|
|
-
|
965
|
|
- void _planner_refresh_positioning() { planner.refresh_positioning(); }
|
966
|
|
- #if ENABLED(DISTINCT_E_FACTORS)
|
967
|
|
- void _planner_refresh_e_positioning(const uint8_t e) {
|
968
|
|
- if (e == active_extruder)
|
969
|
|
- _planner_refresh_positioning();
|
970
|
|
- else
|
971
|
|
- planner.steps_to_mm[E_AXIS + e] = 1.0f / planner.settings.axis_steps_per_mm[E_AXIS + e];
|
972
|
|
- }
|
973
|
|
- void _planner_refresh_e0_positioning() { _planner_refresh_e_positioning(0); }
|
974
|
|
- void _planner_refresh_e1_positioning() { _planner_refresh_e_positioning(1); }
|
975
|
|
- #if E_STEPPERS > 2
|
976
|
|
- void _planner_refresh_e2_positioning() { _planner_refresh_e_positioning(2); }
|
977
|
|
- #if E_STEPPERS > 3
|
978
|
|
- void _planner_refresh_e3_positioning() { _planner_refresh_e_positioning(3); }
|
979
|
|
- #if E_STEPPERS > 4
|
980
|
|
- void _planner_refresh_e4_positioning() { _planner_refresh_e_positioning(4); }
|
981
|
|
- #if E_STEPPERS > 5
|
982
|
|
- void _planner_refresh_e5_positioning() { _planner_refresh_e_positioning(5); }
|
983
|
|
- #endif // E_STEPPERS > 5
|
984
|
|
- #endif // E_STEPPERS > 4
|
985
|
|
- #endif // E_STEPPERS > 3
|
986
|
|
- #endif // E_STEPPERS > 2
|
987
|
|
- #endif
|
988
|
|
-
|
989
|
|
- // M203 / M205 Velocity options
|
990
|
|
- void menu_advanced_velocity() {
|
991
|
|
- START_MENU();
|
992
|
|
- MENU_BACK(MSG_ADVANCED_SETTINGS);
|
993
|
|
-
|
994
|
|
- // M203 Max Feedrate
|
995
|
|
- MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_VMAX MSG_A, &planner.settings.max_feedrate_mm_s[A_AXIS], 1, 999);
|
996
|
|
- MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_VMAX MSG_B, &planner.settings.max_feedrate_mm_s[B_AXIS], 1, 999);
|
997
|
|
- MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_VMAX MSG_C, &planner.settings.max_feedrate_mm_s[C_AXIS], 1, 999);
|
998
|
|
-
|
999
|
|
- #if ENABLED(DISTINCT_E_FACTORS)
|
1000
|
|
- MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_VMAX MSG_E, &planner.settings.max_feedrate_mm_s[E_AXIS + active_extruder], 1, 999);
|
1001
|
|
- MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_VMAX MSG_E1, &planner.settings.max_feedrate_mm_s[E_AXIS], 1, 999);
|
1002
|
|
- MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_VMAX MSG_E2, &planner.settings.max_feedrate_mm_s[E_AXIS + 1], 1, 999);
|
1003
|
|
- #if E_STEPPERS > 2
|
1004
|
|
- MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_VMAX MSG_E3, &planner.settings.max_feedrate_mm_s[E_AXIS + 2], 1, 999);
|
1005
|
|
- #if E_STEPPERS > 3
|
1006
|
|
- MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_VMAX MSG_E4, &planner.settings.max_feedrate_mm_s[E_AXIS + 3], 1, 999);
|
1007
|
|
- #if E_STEPPERS > 4
|
1008
|
|
- MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_VMAX MSG_E5, &planner.settings.max_feedrate_mm_s[E_AXIS + 4], 1, 999);
|
1009
|
|
- #if E_STEPPERS > 5
|
1010
|
|
- MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_VMAX MSG_E6, &planner.settings.max_feedrate_mm_s[E_AXIS + 5], 1, 999);
|
1011
|
|
- #endif // E_STEPPERS > 5
|
1012
|
|
- #endif // E_STEPPERS > 4
|
1013
|
|
- #endif // E_STEPPERS > 3
|
1014
|
|
- #endif // E_STEPPERS > 2
|
1015
|
|
- #else
|
1016
|
|
- MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_VMAX MSG_E, &planner.settings.max_feedrate_mm_s[E_AXIS], 1, 999);
|
1017
|
|
- #endif
|
1018
|
|
-
|
1019
|
|
- // M205 S Min Feedrate
|
1020
|
|
- MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_VMIN, &planner.settings.min_feedrate_mm_s, 0, 999);
|
1021
|
|
-
|
1022
|
|
- // M205 T Min Travel Feedrate
|
1023
|
|
- MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_VTRAV_MIN, &planner.settings.min_travel_feedrate_mm_s, 0, 999);
|
1024
|
|
-
|
1025
|
|
- END_MENU();
|
1026
|
|
- }
|
1027
|
|
-
|
1028
|
|
- // M201 / M204 Accelerations
|
1029
|
|
- void menu_advanced_acceleration() {
|
1030
|
|
- START_MENU();
|
1031
|
|
- MENU_BACK(MSG_ADVANCED_SETTINGS);
|
1032
|
|
-
|
1033
|
|
- // M204 P Acceleration
|
1034
|
|
- MENU_MULTIPLIER_ITEM_EDIT(float5, MSG_ACC, &planner.settings.acceleration, 10, 99000);
|
1035
|
|
-
|
1036
|
|
- // M204 R Retract Acceleration
|
1037
|
|
- MENU_MULTIPLIER_ITEM_EDIT(float5, MSG_A_RETRACT, &planner.settings.retract_acceleration, 100, 99000);
|
1038
|
|
-
|
1039
|
|
- // M204 T Travel Acceleration
|
1040
|
|
- MENU_MULTIPLIER_ITEM_EDIT(float5, MSG_A_TRAVEL, &planner.settings.travel_acceleration, 100, 99000);
|
1041
|
|
-
|
1042
|
|
- // M201 settings
|
1043
|
|
- MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(long5, MSG_AMAX MSG_A, &planner.settings.max_acceleration_mm_per_s2[A_AXIS], 100, 99000, _reset_acceleration_rates);
|
1044
|
|
- MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(long5, MSG_AMAX MSG_B, &planner.settings.max_acceleration_mm_per_s2[B_AXIS], 100, 99000, _reset_acceleration_rates);
|
1045
|
|
- MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(long5, MSG_AMAX MSG_C, &planner.settings.max_acceleration_mm_per_s2[C_AXIS], 10, 99000, _reset_acceleration_rates);
|
1046
|
|
-
|
1047
|
|
- #if ENABLED(DISTINCT_E_FACTORS)
|
1048
|
|
- MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(long5, MSG_AMAX MSG_E, &planner.settings.max_acceleration_mm_per_s2[E_AXIS + active_extruder], 100, 99000, _reset_acceleration_rates);
|
1049
|
|
- MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(long5, MSG_AMAX MSG_E1, &planner.settings.max_acceleration_mm_per_s2[E_AXIS], 100, 99000, _reset_e0_acceleration_rate);
|
1050
|
|
- MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(long5, MSG_AMAX MSG_E2, &planner.settings.max_acceleration_mm_per_s2[E_AXIS + 1], 100, 99000, _reset_e1_acceleration_rate);
|
1051
|
|
- #if E_STEPPERS > 2
|
1052
|
|
- MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(long5, MSG_AMAX MSG_E3, &planner.settings.max_acceleration_mm_per_s2[E_AXIS + 2], 100, 99000, _reset_e2_acceleration_rate);
|
1053
|
|
- #if E_STEPPERS > 3
|
1054
|
|
- MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(long5, MSG_AMAX MSG_E4, &planner.settings.max_acceleration_mm_per_s2[E_AXIS + 3], 100, 99000, _reset_e3_acceleration_rate);
|
1055
|
|
- #if E_STEPPERS > 4
|
1056
|
|
- MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(long5, MSG_AMAX MSG_E5, &planner.settings.max_acceleration_mm_per_s2[E_AXIS + 4], 100, 99000, _reset_e4_acceleration_rate);
|
1057
|
|
- #if E_STEPPERS > 5
|
1058
|
|
- MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(long5, MSG_AMAX MSG_E6, &planner.settings.max_acceleration_mm_per_s2[E_AXIS + 5], 100, 99000, _reset_e5_acceleration_rate);
|
1059
|
|
- #endif // E_STEPPERS > 5
|
1060
|
|
- #endif // E_STEPPERS > 4
|
1061
|
|
- #endif // E_STEPPERS > 3
|
1062
|
|
- #endif // E_STEPPERS > 2
|
1063
|
|
- #else
|
1064
|
|
- MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(long5, MSG_AMAX MSG_E, &planner.settings.max_acceleration_mm_per_s2[E_AXIS], 100, 99000, _reset_acceleration_rates);
|
1065
|
|
- #endif
|
1066
|
|
-
|
1067
|
|
- END_MENU();
|
1068
|
|
- }
|
1069
|
|
-
|
1070
|
|
- // M205 Jerk
|
1071
|
|
- void menu_advanced_jerk() {
|
1072
|
|
- START_MENU();
|
1073
|
|
- MENU_BACK(MSG_ADVANCED_SETTINGS);
|
1074
|
|
-
|
1075
|
|
- #if ENABLED(JUNCTION_DEVIATION)
|
1076
|
|
- #if ENABLED(LIN_ADVANCE)
|
1077
|
|
- MENU_ITEM_EDIT_CALLBACK(float43, MSG_JUNCTION_DEVIATION, &planner.junction_deviation_mm, 0.01f, 0.3f, planner.recalculate_max_e_jerk);
|
1078
|
|
- #else
|
1079
|
|
- MENU_ITEM_EDIT(float43, MSG_JUNCTION_DEVIATION, &planner.junction_deviation_mm, 0.01f, 0.3f);
|
1080
|
|
- #endif
|
1081
|
|
- #endif
|
1082
|
|
- #if HAS_CLASSIC_JERK
|
1083
|
|
- MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_VA_JERK, &planner.max_jerk[A_AXIS], 1, 990);
|
1084
|
|
- MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_VB_JERK, &planner.max_jerk[B_AXIS], 1, 990);
|
1085
|
|
- #if ENABLED(DELTA)
|
1086
|
|
- MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_VC_JERK, &planner.max_jerk[C_AXIS], 1, 990);
|
1087
|
|
- #else
|
1088
|
|
- MENU_MULTIPLIER_ITEM_EDIT(float52sign, MSG_VC_JERK, &planner.max_jerk[C_AXIS], 0.1f, 990);
|
1089
|
|
- #endif
|
1090
|
|
- #if DISABLED(JUNCTION_DEVIATION) || DISABLED(LIN_ADVANCE)
|
1091
|
|
- MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_VE_JERK, &planner.max_jerk[E_AXIS], 1, 990);
|
1092
|
|
- #endif
|
1093
|
|
- #endif
|
1094
|
|
-
|
1095
|
|
- END_MENU();
|
1096
|
|
- }
|
1097
|
|
-
|
1098
|
|
- // M92 Steps-per-mm
|
1099
|
|
- void menu_advanced_steps_per_mm() {
|
1100
|
|
- START_MENU();
|
1101
|
|
- MENU_BACK(MSG_ADVANCED_SETTINGS);
|
1102
|
|
-
|
1103
|
|
- MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float62, MSG_ASTEPS, &planner.settings.axis_steps_per_mm[A_AXIS], 5, 9999, _planner_refresh_positioning);
|
1104
|
|
- MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float62, MSG_BSTEPS, &planner.settings.axis_steps_per_mm[B_AXIS], 5, 9999, _planner_refresh_positioning);
|
1105
|
|
- MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float62, MSG_CSTEPS, &planner.settings.axis_steps_per_mm[C_AXIS], 5, 9999, _planner_refresh_positioning);
|
1106
|
|
-
|
1107
|
|
- #if ENABLED(DISTINCT_E_FACTORS)
|
1108
|
|
- MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float62, MSG_ESTEPS, &planner.settings.axis_steps_per_mm[E_AXIS + active_extruder], 5, 9999, _planner_refresh_positioning);
|
1109
|
|
- MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float62, MSG_E1STEPS, &planner.settings.axis_steps_per_mm[E_AXIS], 5, 9999, _planner_refresh_e0_positioning);
|
1110
|
|
- MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float62, MSG_E2STEPS, &planner.settings.axis_steps_per_mm[E_AXIS + 1], 5, 9999, _planner_refresh_e1_positioning);
|
1111
|
|
- #if E_STEPPERS > 2
|
1112
|
|
- MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float62, MSG_E3STEPS, &planner.settings.axis_steps_per_mm[E_AXIS + 2], 5, 9999, _planner_refresh_e2_positioning);
|
1113
|
|
- #if E_STEPPERS > 3
|
1114
|
|
- MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float62, MSG_E4STEPS, &planner.settings.axis_steps_per_mm[E_AXIS + 3], 5, 9999, _planner_refresh_e3_positioning);
|
1115
|
|
- #if E_STEPPERS > 4
|
1116
|
|
- MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float62, MSG_E5STEPS, &planner.settings.axis_steps_per_mm[E_AXIS + 4], 5, 9999, _planner_refresh_e4_positioning);
|
1117
|
|
- #if E_STEPPERS > 5
|
1118
|
|
- MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float62, MSG_E6STEPS, &planner.settings.axis_steps_per_mm[E_AXIS + 5], 5, 9999, _planner_refresh_e5_positioning);
|
1119
|
|
- #endif // E_STEPPERS > 5
|
1120
|
|
- #endif // E_STEPPERS > 4
|
1121
|
|
- #endif // E_STEPPERS > 3
|
1122
|
|
- #endif // E_STEPPERS > 2
|
1123
|
|
- #else
|
1124
|
|
- MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float62, MSG_ESTEPS, &planner.settings.axis_steps_per_mm[E_AXIS], 5, 9999, _planner_refresh_positioning);
|
1125
|
|
- #endif
|
1126
|
|
-
|
1127
|
|
- END_MENU();
|
1128
|
|
- }
|
1129
|
|
-
|
1130
|
|
-#endif // !SLIM_LCD_MENUS
|
1131
|
|
-
|
1132
|
|
-/**
|
1133
|
|
- *
|
1134
|
|
- * "Advanced Settings" submenu
|
1135
|
|
- *
|
1136
|
|
- */
|
1137
|
|
-
|
1138
|
|
-#if HAS_M206_COMMAND
|
1139
|
|
- /**
|
1140
|
|
- * Set the home offset based on the current_position
|
1141
|
|
- */
|
1142
|
|
- void lcd_set_home_offsets() {
|
1143
|
|
- // M428 Command
|
1144
|
|
- enqueue_and_echo_commands_P(PSTR("M428"));
|
1145
|
|
- lcd_return_to_status();
|
1146
|
|
- }
|
1147
|
|
-#endif
|
1148
|
|
-
|
1149
|
|
-#if ENABLED(SD_FIRMWARE_UPDATE)
|
1150
|
|
- /**
|
1151
|
|
- * Toggle the SD Firmware Update state in EEPROM
|
1152
|
|
- */
|
1153
|
|
- static void _lcd_toggle_sd_update() {
|
1154
|
|
- const bool new_state = !settings.sd_update_status();
|
1155
|
|
- lcd_completion_feedback(settings.set_sd_update_status(new_state));
|
1156
|
|
- lcd_return_to_status();
|
1157
|
|
- if (new_state) LCD_MESSAGEPGM(MSG_RESET_PRINTER); else lcd_reset_status();
|
1158
|
|
- }
|
1159
|
|
-#endif
|
1160
|
|
-
|
1161
|
|
-void menu_advanced_settings() {
|
1162
|
|
- START_MENU();
|
1163
|
|
- MENU_BACK(MSG_CONFIGURATION);
|
1164
|
|
-
|
1165
|
|
- #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
|
1166
|
|
- MENU_ITEM(submenu, MSG_ZPROBE_ZOFFSET, lcd_babystep_zoffset);
|
1167
|
|
- #elif HAS_BED_PROBE
|
1168
|
|
- MENU_ITEM_EDIT(float52, MSG_ZPROBE_ZOFFSET, &zprobe_zoffset, Z_PROBE_OFFSET_RANGE_MIN, Z_PROBE_OFFSET_RANGE_MAX);
|
1169
|
|
- #endif
|
1170
|
|
-
|
1171
|
|
- #if DISABLED(SLIM_LCD_MENUS)
|
1172
|
|
-
|
1173
|
|
- #if HAS_M206_COMMAND
|
1174
|
|
- //
|
1175
|
|
- // Set Home Offsets
|
1176
|
|
- //
|
1177
|
|
- MENU_ITEM(function, MSG_SET_HOME_OFFSETS, lcd_set_home_offsets);
|
1178
|
|
- #endif
|
1179
|
|
-
|
1180
|
|
- // M203 / M205 - Feedrate items
|
1181
|
|
- MENU_ITEM(submenu, MSG_VELOCITY, menu_advanced_velocity);
|
1182
|
|
-
|
1183
|
|
- // M201 - Acceleration items
|
1184
|
|
- MENU_ITEM(submenu, MSG_ACCELERATION, menu_advanced_acceleration);
|
1185
|
|
-
|
1186
|
|
- // M205 - Max Jerk
|
1187
|
|
- MENU_ITEM(submenu, MSG_JERK, menu_advanced_jerk);
|
1188
|
|
-
|
1189
|
|
- if (!printer_busy()) {
|
1190
|
|
- // M92 - Steps Per mm
|
1191
|
|
- MENU_ITEM(submenu, MSG_STEPS_PER_MM, menu_advanced_steps_per_mm);
|
1192
|
|
- }
|
1193
|
|
-
|
1194
|
|
- #endif // !SLIM_LCD_MENUS
|
1195
|
|
-
|
1196
|
|
- MENU_ITEM(submenu, MSG_TEMPERATURE, menu_advanced_temperature);
|
1197
|
|
-
|
1198
|
|
- #if DISABLED(NO_VOLUMETRICS) || ENABLED(ADVANCED_PAUSE_FEATURE)
|
1199
|
|
- MENU_ITEM(submenu, MSG_FILAMENT, menu_advanced_filament);
|
1200
|
|
- #elif ENABLED(LIN_ADVANCE)
|
1201
|
|
- #if EXTRUDERS == 1
|
1202
|
|
- MENU_ITEM_EDIT(float52, MSG_ADVANCE_K, &planner.extruder_advance_K[0], 0, 999);
|
1203
|
|
- #elif EXTRUDERS > 1
|
1204
|
|
- MENU_ITEM_EDIT(float52, MSG_ADVANCE_K MSG_E1, &planner.extruder_advance_K[0], 0, 999);
|
1205
|
|
- MENU_ITEM_EDIT(float52, MSG_ADVANCE_K MSG_E2, &planner.extruder_advance_K[1], 0, 999);
|
1206
|
|
- #if EXTRUDERS > 2
|
1207
|
|
- MENU_ITEM_EDIT(float52, MSG_ADVANCE_K MSG_E3, &planner.extruder_advance_K[2], 0, 999);
|
1208
|
|
- #if EXTRUDERS > 3
|
1209
|
|
- MENU_ITEM_EDIT(float52, MSG_ADVANCE_K MSG_E4, &planner.extruder_advance_K[3], 0, 999);
|
1210
|
|
- #if EXTRUDERS > 4
|
1211
|
|
- MENU_ITEM_EDIT(float52, MSG_ADVANCE_K MSG_E5, &planner.extruder_advance_K[4], 0, 999);
|
1212
|
|
- #if EXTRUDERS > 5
|
1213
|
|
- MENU_ITEM_EDIT(float52, MSG_ADVANCE_K MSG_E6, &planner.extruder_advance_K[5], 0, 999);
|
1214
|
|
- #endif // EXTRUDERS > 5
|
1215
|
|
- #endif // EXTRUDERS > 4
|
1216
|
|
- #endif // EXTRUDERS > 3
|
1217
|
|
- #endif // EXTRUDERS > 2
|
1218
|
|
- #endif // EXTRUDERS > 1
|
1219
|
|
- #endif
|
1220
|
|
-
|
1221
|
|
- // M540 S - Abort on endstop hit when SD printing
|
1222
|
|
- #if ENABLED(ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED)
|
1223
|
|
- MENU_ITEM_EDIT(bool, MSG_ENDSTOP_ABORT, &planner.abort_on_endstop_hit);
|
1224
|
|
- #endif
|
1225
|
|
-
|
1226
|
|
- //
|
1227
|
|
- // BLTouch Self-Test and Reset
|
1228
|
|
- //
|
1229
|
|
- #if ENABLED(BLTOUCH)
|
1230
|
|
- MENU_ITEM(gcode, MSG_BLTOUCH_SELFTEST, PSTR("M280 P" STRINGIFY(Z_PROBE_SERVO_NR) " S" STRINGIFY(BLTOUCH_SELFTEST)));
|
1231
|
|
- if (!endstops.z_probe_enabled && TEST_BLTOUCH())
|
1232
|
|
- MENU_ITEM(gcode, MSG_BLTOUCH_RESET, PSTR("M280 P" STRINGIFY(Z_PROBE_SERVO_NR) " S" STRINGIFY(BLTOUCH_RESET)));
|
1233
|
|
- #endif
|
1234
|
|
-
|
1235
|
|
- #if ENABLED(SD_FIRMWARE_UPDATE)
|
1236
|
|
- bool sd_update_state = settings.sd_update_status();
|
1237
|
|
- MENU_ITEM_EDIT_CALLBACK(bool, MSG_SD_UPDATE, &sd_update_state, _lcd_toggle_sd_update);
|
1238
|
|
- #endif
|
1239
|
|
-
|
1240
|
|
- #if ENABLED(EEPROM_SETTINGS) && DISABLED(SLIM_LCD_MENUS)
|
1241
|
|
- MENU_ITEM(submenu, MSG_INIT_EEPROM, lcd_init_eeprom_confirm);
|
1242
|
|
- #endif
|
1243
|
|
-
|
1244
|
|
- END_MENU();
|
1245
|
|
-}
|
1246
|
|
-
|
1247
|
|
-#if DISABLED(NO_VOLUMETRICS) || ENABLED(ADVANCED_PAUSE_FEATURE)
|
1248
|
|
- /**
|
1249
|
|
- *
|
1250
|
|
- * "Advanced Settings" > "Filament" submenu
|
1251
|
|
- *
|
1252
|
|
- */
|
1253
|
|
- void menu_advanced_filament() {
|
1254
|
|
- START_MENU();
|
1255
|
|
- MENU_BACK(MSG_ADVANCED_SETTINGS);
|
1256
|
|
-
|
1257
|
|
- #if ENABLED(LIN_ADVANCE)
|
1258
|
|
- #if EXTRUDERS == 1
|
1259
|
|
- MENU_ITEM_EDIT(float52, MSG_ADVANCE_K, &planner.extruder_advance_K[0], 0, 999);
|
1260
|
|
- #elif EXTRUDERS > 1
|
1261
|
|
- MENU_ITEM_EDIT(float52, MSG_ADVANCE_K MSG_E1, &planner.extruder_advance_K[0], 0, 999);
|
1262
|
|
- MENU_ITEM_EDIT(float52, MSG_ADVANCE_K MSG_E2, &planner.extruder_advance_K[1], 0, 999);
|
1263
|
|
- #if EXTRUDERS > 2
|
1264
|
|
- MENU_ITEM_EDIT(float52, MSG_ADVANCE_K MSG_E3, &planner.extruder_advance_K[2], 0, 999);
|
1265
|
|
- #if EXTRUDERS > 3
|
1266
|
|
- MENU_ITEM_EDIT(float52, MSG_ADVANCE_K MSG_E4, &planner.extruder_advance_K[3], 0, 999);
|
1267
|
|
- #if EXTRUDERS > 4
|
1268
|
|
- MENU_ITEM_EDIT(float52, MSG_ADVANCE_K MSG_E5, &planner.extruder_advance_K[4], 0, 999);
|
1269
|
|
- #if EXTRUDERS > 5
|
1270
|
|
- MENU_ITEM_EDIT(float52, MSG_ADVANCE_K MSG_E6, &planner.extruder_advance_K[5], 0, 999);
|
1271
|
|
- #endif // EXTRUDERS > 5
|
1272
|
|
- #endif // EXTRUDERS > 4
|
1273
|
|
- #endif // EXTRUDERS > 3
|
1274
|
|
- #endif // EXTRUDERS > 2
|
1275
|
|
- #endif // EXTRUDERS > 1
|
1276
|
|
- #endif
|
1277
|
|
-
|
1278
|
|
- #if DISABLED(NO_VOLUMETRICS)
|
1279
|
|
- MENU_ITEM_EDIT_CALLBACK(bool, MSG_VOLUMETRIC_ENABLED, &parser.volumetric_enabled, planner.calculate_volumetric_multipliers);
|
1280
|
|
-
|
1281
|
|
- if (parser.volumetric_enabled) {
|
1282
|
|
- #if EXTRUDERS == 1
|
1283
|
|
- MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float43, MSG_FILAMENT_DIAM, &planner.filament_size[0], 1.5f, 3.25f, planner.calculate_volumetric_multipliers);
|
1284
|
|
- #else // EXTRUDERS > 1
|
1285
|
|
- MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float43, MSG_FILAMENT_DIAM, &planner.filament_size[active_extruder], 1.5f, 3.25f, planner.calculate_volumetric_multipliers);
|
1286
|
|
- MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float43, MSG_FILAMENT_DIAM MSG_DIAM_E1, &planner.filament_size[0], 1.5f, 3.25f, planner.calculate_volumetric_multipliers);
|
1287
|
|
- MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float43, MSG_FILAMENT_DIAM MSG_DIAM_E2, &planner.filament_size[1], 1.5f, 3.25f, planner.calculate_volumetric_multipliers);
|
1288
|
|
- #if EXTRUDERS > 2
|
1289
|
|
- MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float43, MSG_FILAMENT_DIAM MSG_DIAM_E3, &planner.filament_size[2], 1.5f, 3.25f, planner.calculate_volumetric_multipliers);
|
1290
|
|
- #if EXTRUDERS > 3
|
1291
|
|
- MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float43, MSG_FILAMENT_DIAM MSG_DIAM_E4, &planner.filament_size[3], 1.5f, 3.25f, planner.calculate_volumetric_multipliers);
|
1292
|
|
- #if EXTRUDERS > 4
|
1293
|
|
- MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float43, MSG_FILAMENT_DIAM MSG_DIAM_E5, &planner.filament_size[4], 1.5f, 3.25f, planner.calculate_volumetric_multipliers);
|
1294
|
|
- #if EXTRUDERS > 5
|
1295
|
|
- MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float43, MSG_FILAMENT_DIAM MSG_DIAM_E6, &planner.filament_size[5], 1.5f, 3.25f, planner.calculate_volumetric_multipliers);
|
1296
|
|
- #endif // EXTRUDERS > 5
|
1297
|
|
- #endif // EXTRUDERS > 4
|
1298
|
|
- #endif // EXTRUDERS > 3
|
1299
|
|
- #endif // EXTRUDERS > 2
|
1300
|
|
- #endif // EXTRUDERS > 1
|
1301
|
|
- }
|
1302
|
|
- #endif
|
1303
|
|
-
|
1304
|
|
- #if ENABLED(ADVANCED_PAUSE_FEATURE)
|
1305
|
|
- constexpr float extrude_maxlength =
|
1306
|
|
- #if ENABLED(PREVENT_LENGTHY_EXTRUDE)
|
1307
|
|
- EXTRUDE_MAXLENGTH
|
1308
|
|
- #else
|
1309
|
|
- 999
|
1310
|
|
- #endif
|
1311
|
|
- ;
|
1312
|
|
-
|
1313
|
|
- #if EXTRUDERS == 1
|
1314
|
|
- MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_FILAMENT_UNLOAD, &fc_settings[0].unload_length, 0, extrude_maxlength);
|
1315
|
|
- #else // EXTRUDERS > 1
|
1316
|
|
- MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_FILAMENT_UNLOAD, &fc_settings[active_extruder].unload_length, 0, extrude_maxlength);
|
1317
|
|
- MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_FILAMENT_UNLOAD MSG_DIAM_E1, &fc_settings[0].unload_length, 0, extrude_maxlength);
|
1318
|
|
- MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_FILAMENT_UNLOAD MSG_DIAM_E2, &fc_settings[1].unload_length, 0, extrude_maxlength);
|
1319
|
|
- #if EXTRUDERS > 2
|
1320
|
|
- MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_FILAMENT_UNLOAD MSG_DIAM_E3, &fc_settings[2].unload_length, 0, extrude_maxlength);
|
1321
|
|
- #if EXTRUDERS > 3
|
1322
|
|
- MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_FILAMENT_UNLOAD MSG_DIAM_E4, &fc_settings[3].unload_length, 0, extrude_maxlength);
|
1323
|
|
- #if EXTRUDERS > 4
|
1324
|
|
- MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_FILAMENT_UNLOAD MSG_DIAM_E5, &fc_settings[4].unload_length, 0, extrude_maxlength);
|
1325
|
|
- #if EXTRUDERS > 5
|
1326
|
|
- MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_FILAMENT_UNLOAD MSG_DIAM_E6, &fc_settings[5].unload_length, 0, extrude_maxlength);
|
1327
|
|
- #endif // EXTRUDERS > 5
|
1328
|
|
- #endif // EXTRUDERS > 4
|
1329
|
|
- #endif // EXTRUDERS > 3
|
1330
|
|
- #endif // EXTRUDERS > 2
|
1331
|
|
- #endif // EXTRUDERS > 1
|
1332
|
|
-
|
1333
|
|
- #if EXTRUDERS == 1
|
1334
|
|
- MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_FILAMENT_LOAD, &fc_settings[0].load_length, 0, extrude_maxlength);
|
1335
|
|
- #else // EXTRUDERS > 1
|
1336
|
|
- MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_FILAMENT_LOAD, &fc_settings[active_extruder].load_length, 0, extrude_maxlength);
|
1337
|
|
- MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_FILAMENT_LOAD MSG_DIAM_E1, &fc_settings[0].load_length, 0, extrude_maxlength);
|
1338
|
|
- MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_FILAMENT_LOAD MSG_DIAM_E2, &fc_settings[1].load_length, 0, extrude_maxlength);
|
1339
|
|
- #if EXTRUDERS > 2
|
1340
|
|
- MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_FILAMENT_LOAD MSG_DIAM_E3, &fc_settings[2].load_length, 0, extrude_maxlength);
|
1341
|
|
- #if EXTRUDERS > 3
|
1342
|
|
- MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_FILAMENT_LOAD MSG_DIAM_E4, &fc_settings[3].load_length, 0, extrude_maxlength);
|
1343
|
|
- #if EXTRUDERS > 4
|
1344
|
|
- MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_FILAMENT_LOAD MSG_DIAM_E5, &fc_settings[4].load_length, 0, extrude_maxlength);
|
1345
|
|
- #if EXTRUDERS > 5
|
1346
|
|
- MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_FILAMENT_LOAD MSG_DIAM_E6, &fc_settings[5].load_length, 0, extrude_maxlength);
|
1347
|
|
- #endif // EXTRUDERS > 5
|
1348
|
|
- #endif // EXTRUDERS > 4
|
1349
|
|
- #endif // EXTRUDERS > 3
|
1350
|
|
- #endif // EXTRUDERS > 2
|
1351
|
|
- #endif // EXTRUDERS > 1
|
1352
|
|
- #endif
|
1353
|
|
-
|
1354
|
|
- END_MENU();
|
1355
|
|
- }
|
1356
|
|
-#endif // !NO_VOLUMETRICS || ADVANCED_PAUSE_FEATURE
|
1357
|
|
-
|
1358
|
762
|
#if ENABLED(SDSUPPORT)
|
1359
|
763
|
|
1360
|
764
|
#if !PIN_EXISTS(SD_DETECT)
|