From 754d2d69b2e39d4a5ce0cae66974af289f4d5c8e Mon Sep 17 00:00:00 2001 From: Bernhard Date: Wed, 7 Dec 2011 23:08:13 +0100 Subject: [PATCH] z homing sound fix, for now until the actual cause is found.. --- Marlin/stepper.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Marlin/stepper.cpp b/Marlin/stepper.cpp index 9cf8ddd176..e993d73037 100644 --- a/Marlin/stepper.cpp +++ b/Marlin/stepper.cpp @@ -706,6 +706,10 @@ void st_init() sei(); } +#define TEMPORARY_Z_HOME_SOUND_FIX +#ifdef TEMPORARY_Z_HOME_SOUND_FIX + #include +#endif // Block until all buffered steps are executed void st_synchronize() { @@ -713,6 +717,10 @@ void st_synchronize() manage_heater(); manage_inactivity(1); LCD_STATUS; + #ifdef TEMPORARY_Z_HOME_SOUND_FIX + _delay_ms(200); + _delay_ms(200); + #endif } }