Browse Source

z homing sound fix, for now until the actual cause is found..

Bernhard 13 years ago
parent
commit
754d2d69b2
1 changed files with 8 additions and 0 deletions
  1. 8
    0
      Marlin/stepper.cpp

+ 8
- 0
Marlin/stepper.cpp View File

@@ -706,6 +706,10 @@ void st_init()
706 706
   sei();
707 707
 }
708 708
 
709
+#define TEMPORARY_Z_HOME_SOUND_FIX
710
+#ifdef TEMPORARY_Z_HOME_SOUND_FIX
711
+  #include <util/delay.h>
712
+#endif
709 713
 // Block until all buffered steps are executed
710 714
 void st_synchronize()
711 715
 {
@@ -713,6 +717,10 @@ void st_synchronize()
713 717
     manage_heater();
714 718
     manage_inactivity(1);
715 719
     LCD_STATUS;
720
+    #ifdef TEMPORARY_Z_HOME_SOUND_FIX
721
+    _delay_ms(200);
722
+    _delay_ms(200);
723
+    #endif
716 724
   }   
717 725
 }
718 726
 

Loading…
Cancel
Save