From: Bernhard Date: Wed, 7 Dec 2011 22:08:13 +0000 (+0100) Subject: z homing sound fix, for now until the actual cause is found.. X-Git-Tag: iwj-success-2012-07-29~160 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=754d2d69b2e39d4a5ce0cae66974af289f4d5c8e;p=marlin.git z homing sound fix, for now until the actual cause is found.. --- diff --git a/Marlin/stepper.cpp b/Marlin/stepper.cpp index 9cf8ddd..e993d73 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 } }