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:
789ba02
)
delete obsolete and wrong code
author
MaikStohn
<git@stohn.de>
Thu, 3 May 2012 12:15:46 +0000
(14:15 +0200)
committer
MaikStohn
<git@stohn.de>
Thu, 3 May 2012 12:15:46 +0000
(14:15 +0200)
"i" runs from 0 to 4 but "add_homeing" array size is 3 only. On the
other hand the calculated value gets overwritten by either one of the
if choice.
Marlin/Marlin.pde
patch
|
blob
|
history
diff --git
a/Marlin/Marlin.pde
b/Marlin/Marlin.pde
index 0164a761adfeceb15aac73868e5d1ae00e5806a0..2facb9429cfafbbeeefda0fd4da3193d87c7c1fd 100644
(file)
--- a/
Marlin/Marlin.pde
+++ b/
Marlin/Marlin.pde
@@
-687,7
+687,6
@@
void process_commands()
st_synchronize();
for(int8_t i=0; i < NUM_AXIS; i++) {
if(code_seen(axis_codes[i])) {
- current_position[i] = code_value()+add_homeing[i];
if(i == E_AXIS) {
current_position[i] = code_value();
plan_set_e_position(current_position[E_AXIS]);