home.c: catch by brnrd: inconsistency with Z_MIN_PIN and Z_MAX_PIN.

If both were defined, it was different from handling of X and Y.
Thanks, brnrd.
This commit is contained in:
Markus Hitter 2011-10-28 12:43:14 +02:00
parent d0972036ca
commit f216ff5e0b
1 changed files with 3 additions and 3 deletions

6
home.c
View File

@ -24,10 +24,10 @@ void home() {
home_y_positive();
#endif
#if defined Z_MAX_PIN
home_z_positive();
#elif defined Z_MIN_PIN
#if defined Z_MIN_PIN
home_z_negative();
#elif defined Z_MAX_PIN
home_z_positive();
#endif
}