From ba8500a236041e812c5ff2150e4e65ec82f308b5 Mon Sep 17 00:00:00 2001
From: Phil Hord <phil@phord.com>
Date: Sun, 26 Feb 2012 20:15:40 -0500
Subject: [PATCH] pins.h: Define Z_MAX_PIN for Gen7 board

The Z_MAX_PIN value was defined as no-value, but this causes
the compile to fail.  Fix this by setting the Z_MAX_PIN to the
correct value (which happens to be 0 for pin PB0/DIO0/0).
---
 Marlin/pins.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Marlin/pins.h b/Marlin/pins.h
index e950cbe683..45cbebf001 100644
--- a/Marlin/pins.h
+++ b/Marlin/pins.h
@@ -81,7 +81,7 @@
 #define Z_DIR_PIN 25
 #define Z_ENABLE_PIN 24
 #define Z_MIN_PIN 1
-#define Z_MAX_PIN 
+#define Z_MAX_PIN 0
 
 //extruder pins
 #define E0_STEP_PIN 28
-- 
GitLab