committed by
					
						
						Scott Lahteine
					
				
			
			
				
	
			
			
			
						parent
						
							6c557a2480
						
					
				
				
					commit
					ce0af56d0a
				
			@@ -56,17 +56,7 @@ void GcodeSuite::M306() {
 | 
			
		||||
    return;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  HOTEND_LOOP() {
 | 
			
		||||
    SERIAL_ECHOLNPGM("MPC constants for hotend ", e);
 | 
			
		||||
    MPC_t& constants = thermalManager.temp_hotend[e].constants;
 | 
			
		||||
    SERIAL_ECHOLNPGM("Heater power: ", constants.heater_power);
 | 
			
		||||
    SERIAL_ECHOLNPGM("Heatblock heat capacity: ", constants.block_heat_capacity);
 | 
			
		||||
    SERIAL_ECHOLNPAIR_F("Sensor responsivness: ", constants.sensor_responsiveness, 4);
 | 
			
		||||
    SERIAL_ECHOLNPAIR_F("Ambient heat transfer coeff. (no fan): ", constants.ambient_xfer_coeff_fan0, 4);
 | 
			
		||||
    #if ENABLED(MPC_INCLUDE_FAN)
 | 
			
		||||
      SERIAL_ECHOLNPAIR_F("Ambient heat transfer coeff. (full fan): ", constants.ambient_xfer_coeff_fan0 + constants.fan255_adjustment, 4);
 | 
			
		||||
    #endif
 | 
			
		||||
  }
 | 
			
		||||
  M306_report(true);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void GcodeSuite::M306_report(const bool forReplay/*=true*/) {
 | 
			
		||||
@@ -79,7 +69,9 @@ void GcodeSuite::M306_report(const bool forReplay/*=true*/) {
 | 
			
		||||
    SERIAL_ECHOPAIR_F(" C", constants.block_heat_capacity, 2);
 | 
			
		||||
    SERIAL_ECHOPAIR_F(" R", constants.sensor_responsiveness, 4);
 | 
			
		||||
    SERIAL_ECHOPAIR_F(" A", constants.ambient_xfer_coeff_fan0, 4);
 | 
			
		||||
    SERIAL_ECHOLNPAIR_F(" F", constants.ambient_xfer_coeff_fan0 + constants.fan255_adjustment, 4);
 | 
			
		||||
    #if ENABLED(MPC_INCLUDE_FAN)
 | 
			
		||||
      SERIAL_ECHOLNPAIR_F(" F", constants.ambient_xfer_coeff_fan0 + constants.fan255_adjustment, 4);
 | 
			
		||||
    #endif
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user