chiark / gitweb /
z homing sound fix, for now until the actual cause is found..
authorBernhard <bkubicek@x201.(none)>
Wed, 7 Dec 2011 22:08:13 +0000 (23:08 +0100)
committerBernhard <bkubicek@x201.(none)>
Wed, 7 Dec 2011 22:08:13 +0000 (23:08 +0100)
Marlin/stepper.cpp

index 9cf8ddd17650bdb7b271a2900532f269a913fc17..e993d73037a057126809d8bd6d65a43be2604944 100644 (file)
@@ -706,6 +706,10 @@ void st_init()
   sei();
 }
 
+#define TEMPORARY_Z_HOME_SOUND_FIX
+#ifdef TEMPORARY_Z_HOME_SOUND_FIX
+  #include <util/delay.h>
+#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
   }   
 }