From b45a277c5242765016966aefe026ed784f48e3a3 Mon Sep 17 00:00:00 2001
From: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Sun, 18 Feb 2018 02:24:23 -0600
Subject: [PATCH] ENDER can use BOARD_MELZI_CREALITY (#9694)

---
 Marlin/boards.h                               |  1 -
 .../Creality/Ender/Configuration.h            |  2 +-
 Marlin/pins_CREALITY_ENDER.h                  | 34 -------------------
 3 files changed, 1 insertion(+), 36 deletions(-)
 delete mode 100644 Marlin/pins_CREALITY_ENDER.h

diff --git a/Marlin/boards.h b/Marlin/boards.h
index 56fed0eda6..88ef688c08 100644
--- a/Marlin/boards.h
+++ b/Marlin/boards.h
@@ -116,7 +116,6 @@
 #define BOARD_MELZI_MAKR3D      66    // Melzi with ATmega1284 (MaKr3d version)
 #define BOARD_MELZI_CREALITY    89    // Melzi Creality3D board (for CR-10 etc)
 #define BOARD_MELZI_MALYAN      92    // Melzi Malyan M150 board
-#define BOARD_CREALITY_ENDER    601   // Creality Ender
 #define BOARD_MELZI_TRONXY      505   // Tronxy X5S
 #define BOARD_STB_11            64    // STB V1.1
 #define BOARD_AZTEEG_X1         65    // Azteeg X1
diff --git a/Marlin/example_configurations/Creality/Ender/Configuration.h b/Marlin/example_configurations/Creality/Ender/Configuration.h
index ddd4c28f13..67e87fcd08 100644
--- a/Marlin/example_configurations/Creality/Ender/Configuration.h
+++ b/Marlin/example_configurations/Creality/Ender/Configuration.h
@@ -123,7 +123,7 @@
 // The following define selects which electronics board you have.
 // Please choose the name from boards.h that matches your setup
 #ifndef MOTHERBOARD
-  #define MOTHERBOARD BOARD_CREALITY_ENDER
+  #define MOTHERBOARD BOARD_MELZI_CREALITY
 #endif
 
 // Optional custom name for your RepStrap or other custom machine
diff --git a/Marlin/pins_CREALITY_ENDER.h b/Marlin/pins_CREALITY_ENDER.h
deleted file mode 100644
index 72cfcc6ee4..0000000000
--- a/Marlin/pins_CREALITY_ENDER.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
- * Marlin 3D Printer Firmware
- * Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
- *
- * Based on Sprinter and grbl.
- * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
- *
- */
-
-/**
- * Creality Ender pin assignments
- *
- * Applies to the following boards:
- *
- *  Creality Ender-2
- *  Creality Ender-4
- */
-
-#define BOARD_NAME "Creality Ender"
-
-#include "pins_SANGUINOLOLU_12.h"