Browse Source

🩹 Fix MPC_EDIT_DEFS (#24018)

Giuliano Zaro 3 years ago
parent
commit
14603112a4
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/lcd/menu/menu_advanced.cpp

+ 1
- 1
Marlin/src/lcd/menu/menu_advanced.cpp View File

256
   #if ENABLED(MPC_EDIT_MENU)
256
   #if ENABLED(MPC_EDIT_MENU)
257
     #define MPC_EDIT_DEFS(N) \
257
     #define MPC_EDIT_DEFS(N) \
258
       MPC_t &c = thermalManager.temp_hotend[N].constants; \
258
       MPC_t &c = thermalManager.temp_hotend[N].constants; \
259
-      TERN(MPC_INCLUDE_FAN, editable.decimal = c.ambient_xfer_coeff_fan0 + c.fan255_adjustment)
259
+      TERN_(MPC_INCLUDE_FAN, editable.decimal = c.ambient_xfer_coeff_fan0 + c.fan255_adjustment)
260
   #endif
260
   #endif
261
 
261
 
262
   void menu_advanced_temperature() {
262
   void menu_advanced_temperature() {

Loading…
Cancel
Save