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
   sei();
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
 // Block until all buffered steps are executed
713
 // Block until all buffered steps are executed
710
 void st_synchronize()
714
 void st_synchronize()
711
 {
715
 {
713
     manage_heater();
717
     manage_heater();
714
     manage_inactivity(1);
718
     manage_inactivity(1);
715
     LCD_STATUS;
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