Browse Source

💥 More M306 M => M306 H (#24258)

Followup to #24253
FB4S_WIFI
tombrazier 3 years ago
committed by Scott Lahteine
parent
commit
fc350701b2
  1. 2
      Marlin/src/gcode/temp/M306.cpp
  2. 2
      Marlin/src/module/temperature.h

2
Marlin/src/gcode/temp/M306.cpp

@ -74,7 +74,7 @@ void GcodeSuite::M306_report(const bool forReplay/*=true*/) {
#if ENABLED(MPC_INCLUDE_FAN)
SERIAL_ECHOPAIR_F(" F", constants.ambient_xfer_coeff_fan0 + constants.fan255_adjustment, 4);
#endif
SERIAL_ECHOPAIR_F(" M", constants.filament_heat_capacity_permm, 4);
SERIAL_ECHOPAIR_F(" H", constants.filament_heat_capacity_permm, 4);
SERIAL_EOL();
}
}

2
Marlin/src/module/temperature.h

@ -103,7 +103,7 @@ hotend_pid_t;
#if ENABLED(MPC_INCLUDE_FAN)
float fan255_adjustment; // M306 F
#endif
float filament_heat_capacity_permm; // M306 M
float filament_heat_capacity_permm; // M306 H
} MPC_t;
#endif

Loading…
Cancel
Save