From bad4a4e66dfa808633614db59b637f758d4853fd Mon Sep 17 00:00:00 2001 From: Robert Baker <51850403+robertbaker@users.noreply.github.com> Date: Tue, 22 Sep 2026 05:08:26 -0700 Subject: [PATCH] Add file_start_gcode to Anker fdm_marlin_common.json (#15339) This is needed for the AnkerMake M5 and M5c to have correct print time estimates. Fixes a random super-long time on the M5 touchscreen. Co-authored-by: SoftFever <103989404+SoftFever@users.noreply.github.com> --- resources/profiles/Anker/machine/fdm_marlin_common.json | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/profiles/Anker/machine/fdm_marlin_common.json b/resources/profiles/Anker/machine/fdm_marlin_common.json index 4db7d1aef0..23dd8ea7c5 100644 --- a/resources/profiles/Anker/machine/fdm_marlin_common.json +++ b/resources/profiles/Anker/machine/fdm_marlin_common.json @@ -6,6 +6,7 @@ "instantiation": "false", "gcode_flavor": "marlin2", "before_layer_change_gcode": ";BEFORE_LAYER_CHANGE\nG92 E0.0\n;[layer_z]\n\n", + "file_start_gcode": ";TIME:{print_time_sec}s", "machine_start_gcode": "M4899 T3 ; Enable v3 jerk and S-curve acceleration \nM104 S150 ; Set hotend temp to 150 degrees to prevent ooze\nM190 S{first_layer_bed_temperature[0]} ; set and wait for bed temp to stabilize\nM109 S{first_layer_temperature[0]} ; set final nozzle temp to stabilize\nG28 ;Home\n;LAYER_COUNT:{total_layer_count}", "machine_end_gcode": "M104 S0\nM140 S0\n;Retract the filament\nG92 E1\nG1 E-1 F300\nG28 X0 Y0\nM18", "change_filament_gcode": "M600",