🚸 Move MOTHERBOARD closer to the top

This commit is contained in:
Scott Lahteine 2021-12-25 00:44:15 -06:00
parent b261445d7f
commit 97ceb856a1
296 changed files with 1497 additions and 1203 deletions

View file

@ -94,6 +94,13 @@
// @section machine
// Choose the name from boards.h that matches your setup
#ifndef MOTHERBOARD
#define X_MAX_PIN 3 // creality connects X_MAX switch to X_MIN(_PIN) motherbard connector
#define Y_MAX_PIN 14 // creality connects Y_MAX switch to Y_MIN(_PIN) motherbard connector
#define MOTHERBOARD BOARD_RAMPS_CREALITY
#endif
/**
* Select the serial port on the board to use for communication with the host.
* This allows the connection of wireless adapters (for instance) to non-default port pins.
@ -137,12 +144,6 @@
// Enable the Bluetooth serial interface on AT90USB devices
//#define BLUETOOTH
// Choose the name from boards.h that matches your setup
#ifndef MOTHERBOARD
#define X_MAX_PIN 3 // creality connects X_MAX switch to X_MIN(_PIN) motherbard connector
#define Y_MAX_PIN 14 // creality connects Y_MAX switch to Y_MIN(_PIN) motherbard connector
#define MOTHERBOARD BOARD_RAMPS_CREALITY
#endif
// Name displayed in the LCD "Ready" message and Info menu
#define CUSTOM_MACHINE_NAME "Ender-5 Plus"