Skip to content

Commit

Permalink
Merge pull request MarlinFirmware#4122 from leptun/mmu2_fix_ptfe_chec…
Browse files Browse the repository at this point in the history
…k_distance

Fix MMU2_CHECK_FILAMENT_PRESENCE_EXTRUSION_LENGTH for MMU2
  • Loading branch information
3d-gussner authored Apr 4, 2023
2 parents b7c42e8 + ebf8b16 commit a1234b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Firmware/mmu2/variants/config_MMU2.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ static constexpr float MMU2_RETRY_UNLOAD_TO_FINDA_FEED_RATE = 80.0f; // mm/s
// After loading a new filament, the printer will extrude the filament by this distance
// and then retract it back to the original position. This is used to check if the
// filament sensor reading flickers or filament is jammed.
static constexpr float MMU2_CHECK_FILAMENT_PRESENCE_EXTRUSION_LENGTH = MMU2_EXTRUDER_PTFE_LENGTH + MMU2_EXTRUDER_HEATBREAK_LENGTH + MMU2_VERIFY_LOAD_TO_NOZZLE_TWEAK - MMU2_FILAMENT_SENSOR_POSITION;
static constexpr float MMU2_CHECK_FILAMENT_PRESENCE_EXTRUSION_LENGTH = MMU2_EXTRUDER_PTFE_LENGTH + MMU2_EXTRUDER_HEATBREAK_LENGTH + MMU2_VERIFY_LOAD_TO_NOZZLE_TWEAK + MMU2_FILAMENT_SENSOR_POSITION;

static constexpr uint8_t MMU2_NO_TOOL = 99;
static constexpr uint32_t MMU_BAUD = 115200;
Expand Down
2 changes: 1 addition & 1 deletion Firmware/mmu2/variants/config_MMU2S.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ static constexpr float MMU2_RETRY_UNLOAD_TO_FINDA_FEED_RATE = 80.0f; // mm/s
// After loading a new filament, the printer will extrude the filament by this distance
// and then retract it back to the original position. This is used to check if the
// filament sensor reading flickers or filament is jammed.
static constexpr float MMU2_CHECK_FILAMENT_PRESENCE_EXTRUSION_LENGTH = MMU2_EXTRUDER_PTFE_LENGTH + MMU2_EXTRUDER_HEATBREAK_LENGTH + MMU2_VERIFY_LOAD_TO_NOZZLE_TWEAK - MMU2_FILAMENT_SENSOR_POSITION;
static constexpr float MMU2_CHECK_FILAMENT_PRESENCE_EXTRUSION_LENGTH = MMU2_EXTRUDER_PTFE_LENGTH + MMU2_EXTRUDER_HEATBREAK_LENGTH + MMU2_VERIFY_LOAD_TO_NOZZLE_TWEAK + MMU2_FILAMENT_SENSOR_POSITION;

static constexpr uint8_t MMU2_NO_TOOL = 99;
static constexpr uint32_t MMU_BAUD = 115200;
Expand Down

0 comments on commit a1234b3

Please sign in to comment.