Comment, fix filament width sensor

This commit is contained in:
Scott Lahteine
2017-12-13 02:32:34 -06:00
parent a641992c1d
commit cf2193c07f
8 changed files with 69 additions and 47 deletions

View File

@ -56,7 +56,7 @@ void GcodeSuite::M405() {
}
if (filwidth_delay_index[1] == -1) { // Initialize the ring buffer if not done since startup
const uint8_t temp_ratio = thermalManager.widthFil_to_size_ratio() - 100; // -100 to scale within a signed byte
const uint8_t temp_ratio = thermalManager.widthFil_to_size_ratio();
for (uint8_t i = 0; i < COUNT(measurement_delay); ++i)
measurement_delay[i] = temp_ratio;
@ -65,11 +65,6 @@ void GcodeSuite::M405() {
}
filament_sensor = true;
//SERIAL_PROTOCOLPGM("Filament dia (measured mm):");
//SERIAL_PROTOCOL(filament_width_meas);
//SERIAL_PROTOCOLPGM("Extrusion ratio(%):");
//SERIAL_PROTOCOL(planner.flow_percentage[active_extruder]);
}
/**