Commit 5d77b3b 2 people authored and committed
1 parent 70755a1 commit 5d77b3b Copy full SHA for 5d77b3b
File tree 3 files changed +5
-3
lines changed
3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,9 @@ void GcodeSuite::M306_report(const bool forReplay/*=true*/) {
69
69
SERIAL_ECHOPAIR_F (" C" , constants.block_heat_capacity , 2 );
70
70
SERIAL_ECHOPAIR_F (" R" , constants.sensor_responsiveness , 4 );
71
71
SERIAL_ECHOPAIR_F (" A" , constants.ambient_xfer_coeff_fan0 , 4 );
72
- SERIAL_ECHOLNPAIR_F (" F" , constants.ambient_xfer_coeff_fan0 + constants.fan255_adjustment , 4 );
72
+ #if ENABLED(MPC_INCLUDE_FAN)
73
+ SERIAL_ECHOLNPAIR_F (" F" , constants.ambient_xfer_coeff_fan0 + constants.fan255_adjustment , 4 );
74
+ #endif
73
75
}
74
76
}
75
77
Original file line number Diff line number Diff line change @@ -366,7 +366,7 @@ void menu_backlash();
366
366
MPC_EDIT_ITEMS (e);
367
367
END_MENU ();
368
368
};
369
- #define MPC_ENTRY (N ) SUBMENU_N(N, MSG_MPC_EDIT, []{ mpc_edit_hotend (MenuItemBase::itemIndex); });
369
+ #define MPC_ENTRY (N ) SUBMENU_N(N, MSG_MPC_EDIT, [& ]{ mpc_edit_hotend (MenuItemBase::itemIndex); });
370
370
#else
371
371
#define MPC_ENTRY MPC_EDIT_ITEMS
372
372
#endif
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ opt_set MOTHERBOARD BOARD_BTT_GTR_V1_0 SERIAL_PORT -1 \
38
38
MPC_SENSOR_RESPONSIVENESS ' { 0.22f, 0.22f, 0.22f }' \
39
39
MPC_AMBIENT_XFER_COEFF ' { 0.068f, 0.068f, 0.068f }' \
40
40
MPC_AMBIENT_XFER_COEFF_FAN255 ' { 0.097f, 0.097f, 0.097f }'
41
- opt_enable SWITCHING_TOOLHEAD TOOL_SENSOR MPCTEMP
41
+ opt_enable SWITCHING_TOOLHEAD TOOL_SENSOR MPCTEMP MPC_EDIT_MENU MPC_AUTOTUNE_MENU
42
42
opt_disable PIDTEMP
43
43
exec_test $1 $2 " BigTreeTech GTR | MPC | Switching Toolhead | Tool Sensors" " $3 "
44
44
You can’t perform that action at this time.
0 commit comments