Skip to content

Commit

Permalink
MMU:MK35 Make compile error on Try-Load attempt for MK4
Browse files Browse the repository at this point in the history
(cherry picked from commit 46bd45216b28721bd0293f69f236e11d5ddd7ee7)
  • Loading branch information
D.R.racer authored and dragomirecky committed Feb 28, 2024
1 parent 40b024b commit fb97a2d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/Marlin/Marlin/src/feature/prusa/MMU2/mmu2_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ static constexpr float MMU2_RETRY_UNLOAD_FINISH_FEED_RATE = 20.0f; // mm/s

static constexpr float MMU2_EXTRUDER_NOZZLE_LENGTH = 20.F;
#ifdef USE_TRY_LOAD
// Beware - this part has been tuned for MK35 (copied from MK3S), it probably won't work for MK4 anymore
#ifndef UNITTEST
#if not PRINTER_IS_PRUSA_MK3_5
#error "Beware - this part has been tuned for MK35 (copied from MK3S), it probably won't work for MK4 anymore"
#endif
#endif
static constexpr float MMU2_FILAMENT_SENSOR_POSITION = 0; // mm
static constexpr float MMU2_EXTRUDER_PTFE_LENGTH = 42.3f; // mm
static constexpr float MMU2_EXTRUDER_HEATBREAK_LENGTH = 17.7f; // mm
Expand Down

0 comments on commit fb97a2d

Please sign in to comment.