From e0227f21109568be6754687bd65b13921b6453c7 Mon Sep 17 00:00:00 2001
From: Scott Lahteine <github@thinkyhead.com>
Date: Fri, 23 Feb 2018 14:29:57 -0600
Subject: [PATCH] Fix *_CS_PIN for RAMPS_FD

Fix #9778
---
 Marlin/src/pins/pins_RAMPS_FD_V1.h | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/Marlin/src/pins/pins_RAMPS_FD_V1.h b/Marlin/src/pins/pins_RAMPS_FD_V1.h
index 31fdbc14c8..0a632cfb31 100644
--- a/Marlin/src/pins/pins_RAMPS_FD_V1.h
+++ b/Marlin/src/pins/pins_RAMPS_FD_V1.h
@@ -63,42 +63,42 @@
 #define X_STEP_PIN         63
 #define X_DIR_PIN          62
 #define X_ENABLE_PIN       48
-#ifdef X_CS_PIN
+#ifndef X_CS_PIN
   #define X_CS_PIN         68
 #endif
 
 #define Y_STEP_PIN         65
 #define Y_DIR_PIN          64
 #define Y_ENABLE_PIN       46
-#ifdef Y_CS_PIN
+#ifndef Y_CS_PIN
   #define Y_CS_PIN         60
 #endif
 
 #define Z_STEP_PIN         67
 #define Z_DIR_PIN          66
 #define Z_ENABLE_PIN       44
-#ifdef Z_CS_PIN
+#ifndef Z_CS_PIN
   #define Z_CS_PIN         58
 #endif
 
 #define E0_STEP_PIN        36
 #define E0_DIR_PIN         28
 #define E0_ENABLE_PIN      42
-#ifdef E0_CS_PIN
+#ifndef E0_CS_PIN
   #define E0_CS_PIN        67
 #endif
 
 #define E1_STEP_PIN        43
 #define E1_DIR_PIN         41
 #define E1_ENABLE_PIN      39
-#ifdef E1_CS_PIN
+#ifndef E1_CS_PIN
   #define E1_CS_PIN        61
 #endif
 
 #define E2_STEP_PIN        32
 #define E2_DIR_PIN         47
 #define E2_ENABLE_PIN      45
-#ifdef E2_CS_PIN
+#ifndef E2_CS_PIN
   #define E2_CS_PIN        59
 #endif