Skip to content

Commit

Permalink
Compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
zeleps committed Apr 20, 2022
1 parent 97e3720 commit 70f5f72
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Marlin/src/lcd/menu/menu_advanced.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,8 @@ void menu_backlash();
//
#if SHOW_MENU_ADVANCED_TEMPERATURE

#define HAS_MULTI_HOTEND 1

#if ENABLED(MPC_EDIT_MENU)
#define MPC_EDIT_DEFS(N) \
MPC_t &c = thermalManager.temp_hotend[N].constants; \
Expand Down Expand Up @@ -351,7 +353,7 @@ void menu_backlash();
#if ENABLED(MPC_INCLUDE_FAN)
#define MPC_EDIT_ITEMS(N) \
_MPC_EDIT_ITEMS(N); \
EDIT_ITEM_FAST_N(float43, N, MSG_MPC_AMBIENT_XFER_COEFF_FAN255_E, &editable.decimal, 0, 1, []{ \
EDIT_ITEM_FAST_N(float43, N, MSG_MPC_AMBIENT_XFER_COEFF_FAN255_E, &editable.decimal, 0, 1, [&]{ \
c.fan255_adjustment = editable.decimal - c.ambient_xfer_coeff_fan0; \
})
#else
Expand Down

0 comments on commit 70f5f72

Please sign in to comment.