Browse Source

Merge pull request #5209 from floyd871/RCBugFix

Megatronics 3.0 has no SD-Card detect
pull/1/head
Scott Lahteine 8 years ago
committed by GitHub
parent
commit
7972378828
  1. 1
      Marlin/boards.h
  2. 3
      Marlin/pins.h
  3. 2
      Marlin/pins_MEGATRONICS_3.h

1
Marlin/boards.h

@ -78,6 +78,7 @@
#define BOARD_MEGATRONICS_2 701 // Megatronics v2.0 #define BOARD_MEGATRONICS_2 701 // Megatronics v2.0
#define BOARD_MINITRONICS 702 // Minitronics v1.0/1.1 #define BOARD_MINITRONICS 702 // Minitronics v1.0/1.1
#define BOARD_MEGATRONICS_3 703 // Megatronics v3.0 #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_A 90 // Alpha OMCA board
#define BOARD_OMCA 91 // Final OMCA board #define BOARD_OMCA 91 // Final OMCA board
#define BOARD_RAMBO 301 // Rambo #define BOARD_RAMBO 301 // Rambo

3
Marlin/pins.h

@ -133,6 +133,9 @@
#include "pins_MEGATRONICS_2.h" #include "pins_MEGATRONICS_2.h"
#elif MB(MEGATRONICS_3) #elif MB(MEGATRONICS_3)
#include "pins_MEGATRONICS_3.h" #include "pins_MEGATRONICS_3.h"
#elif MB(MEGATRONICS_31)
#define MEGATRONICS_31
#include "pins_MEGATRONICS_3.h"
#elif MB(OMCA_A) #elif MB(OMCA_A)
#include "pins_OMCA_A.h" #include "pins_OMCA_A.h"
#elif MB(OMCA) #elif MB(OMCA)

2
Marlin/pins_MEGATRONICS_3.h

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

Loading…
Cancel
Save