chiark
/
gitweb
/
~ianmdlvl
/
marlin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
986f0ba
)
z homing sound fix, for now until the actual cause is found..
author
Bernhard
<bkubicek@x201.(none)>
Wed, 7 Dec 2011 22:08:13 +0000
(23:08 +0100)
committer
Bernhard
<bkubicek@x201.(none)>
Wed, 7 Dec 2011 22:08:13 +0000
(23:08 +0100)
Marlin/stepper.cpp
patch
|
blob
|
history
diff --git
a/Marlin/stepper.cpp
b/Marlin/stepper.cpp
index 9cf8ddd17650bdb7b271a2900532f269a913fc17..e993d73037a057126809d8bd6d65a43be2604944 100644
(file)
--- 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 <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
}
}