ErikZalm/Marlin — pull request #350 by jcrocholl (2012-12-16 20:40:15+00:00)
Title: Automatically set *_MIN_PIN and *_MAX_PIN according to *_HOME_DIR.

This change is for all boards with only one endstop per axis. This allows changing X_HOME_DIR in Configuration.h without having to also switch X_MIN_PIN and X_MAX_PIN in pins.h.

This also fixes the endstops on Sanguino based boards which were completely broken (whitespace between # and define).