File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Expand file tree Collapse file tree 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*/) {
6969 SERIAL_ECHOPAIR_F (" C" , constants.block_heat_capacity , 2 );
7070 SERIAL_ECHOPAIR_F (" R" , constants.sensor_responsiveness , 4 );
7171 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
7375 }
7476}
7577
Original file line number Diff line number Diff line change @@ -366,7 +366,7 @@ void menu_backlash();
366366 MPC_EDIT_ITEMS (e);
367367 END_MENU ();
368368 };
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); });
370370 #else
371371 #define MPC_ENTRY MPC_EDIT_ITEMS
372372 #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 \
3838 MPC_SENSOR_RESPONSIVENESS ' { 0.22f, 0.22f, 0.22f }' \
3939 MPC_AMBIENT_XFER_COEFF ' { 0.068f, 0.068f, 0.068f }' \
4040 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
4242opt_disable PIDTEMP
4343exec_test $1 $2 " BigTreeTech GTR | MPC | Switching Toolhead | Tool Sensors" " $3 "
4444
You can’t perform that action at this time.
0 commit comments