From c0d45ca7f2e28219f37b8bc7868f7220a77ea731 Mon Sep 17 00:00:00 2001 From: Michael Neumann Date: Sat, 12 Nov 2016 12:24:47 +0100 Subject: [PATCH 1/3] Update boards.h --- Marlin/boards.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Marlin/boards.h b/Marlin/boards.h index 285bfb7ab9..e8ac50a4d6 100644 --- a/Marlin/boards.h +++ b/Marlin/boards.h @@ -78,6 +78,7 @@ #define BOARD_MEGATRONICS_2 701 // Megatronics v2.0 #define BOARD_MINITRONICS 702 // Minitronics v1.0/1.1 #define BOARD_MEGATRONICS_3 703 // Megatronics v3.0 +#define BOARD_MEGATRONICS_31 704 // Megatronics v3.1 #define BOARD_OMCA_A 90 // Alpha OMCA board #define BOARD_OMCA 91 // Final OMCA board #define BOARD_RAMBO 301 // Rambo From 3890366c8353d94dee30f114c505c4fdf388ac9f Mon Sep 17 00:00:00 2001 From: Michael Neumann Date: Sat, 12 Nov 2016 12:25:45 +0100 Subject: [PATCH 2/3] Update pins.h --- Marlin/pins.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Marlin/pins.h b/Marlin/pins.h index 472133c5b4..68aaf656fc 100644 --- a/Marlin/pins.h +++ b/Marlin/pins.h @@ -133,6 +133,9 @@ #include "pins_MEGATRONICS_2.h" #elif MB(MEGATRONICS_3) #include "pins_MEGATRONICS_3.h" +#elif MB(MEGATRONICS_31) + #define MEGATRONICS_31 + #include "pins_MEGATRONICS_3.h" #elif MB(OMCA_A) #include "pins_OMCA_A.h" #elif MB(OMCA) From 8bdf303da0401b04ce26a0c502ea2b735b06296a Mon Sep 17 00:00:00 2001 From: Michael Neumann Date: Sat, 12 Nov 2016 12:26:07 +0100 Subject: [PATCH 3/3] Update pins_MEGATRONICS_3.h --- Marlin/pins_MEGATRONICS_3.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/Marlin/pins_MEGATRONICS_3.h b/Marlin/pins_MEGATRONICS_3.h index 8f02325ddd..1b87457e23 100644 --- a/Marlin/pins_MEGATRONICS_3.h +++ b/Marlin/pins_MEGATRONICS_3.h @@ -28,8 +28,6 @@ #error "Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu." #endif -#define MEGATRONICS_31 - #if ENABLED(MEGATRONICS_31) #define BOARD_NAME "Megatronics v3.1" #else