fix some bug

This commit is contained in:
QIDI TECH
2025-05-29 13:56:52 +08:00
parent 6d0ec79031
commit 60d6348a42
4 changed files with 10 additions and 1 deletions

View File

@@ -2409,6 +2409,11 @@ void GCode::_do_export(Print& print, GCodeOutputStream &file, ThumbnailsGenerato
m_start_gcode_filament = GCodeProcessor::get_gcode_last_filament(machine_start_gcode);
m_writer.init_extruder(initial_non_support_extruder_id);
//y63
if (m_config.enable_pressure_advance.get_at(initial_non_support_extruder_id))
file.write(m_writer.set_pressure_advance(m_config.pressure_advance.get_at(initial_non_support_extruder_id)));
// add the missing filament start gcode in machine start gcode
{
DynamicConfig config;