Browse Source

Merge pull request #5209 from floyd871/RCBugFix

Megatronics 3.0 has no SD-Card detect
Scott Lahteine 8 years ago
parent
commit
7972378828
3 changed files with 4 additions and 2 deletions
  1. 1
    0
      Marlin/boards.h
  2. 3
    0
      Marlin/pins.h
  3. 0
    2
      Marlin/pins_MEGATRONICS_3.h

+ 1
- 0
Marlin/boards.h View File

@@ -78,6 +78,7 @@
78 78
 #define BOARD_MEGATRONICS_2     701  // Megatronics v2.0
79 79
 #define BOARD_MINITRONICS       702  // Minitronics v1.0/1.1
80 80
 #define BOARD_MEGATRONICS_3     703  // Megatronics v3.0
81
+#define BOARD_MEGATRONICS_31    704  // Megatronics v3.1
81 82
 #define BOARD_OMCA_A            90   // Alpha OMCA board
82 83
 #define BOARD_OMCA              91   // Final OMCA board
83 84
 #define BOARD_RAMBO             301  // Rambo

+ 3
- 0
Marlin/pins.h View File

@@ -133,6 +133,9 @@
133 133
   #include "pins_MEGATRONICS_2.h"
134 134
 #elif MB(MEGATRONICS_3)
135 135
   #include "pins_MEGATRONICS_3.h"
136
+#elif MB(MEGATRONICS_31)
137
+  #define MEGATRONICS_31
138
+  #include "pins_MEGATRONICS_3.h" 
136 139
 #elif MB(OMCA_A)
137 140
   #include "pins_OMCA_A.h"
138 141
 #elif MB(OMCA)

+ 0
- 2
Marlin/pins_MEGATRONICS_3.h View File

@@ -28,8 +28,6 @@
28 28
   #error "Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."
29 29
 #endif
30 30
 
31
-#define MEGATRONICS_31
32
-
33 31
 #if ENABLED(MEGATRONICS_31)
34 32
   #define BOARD_NAME       "Megatronics v3.1"
35 33
 #else

Loading…
Cancel
Save