Merge pull request #5209 from floyd871/RCBugFix

Megatronics 3.0 has no SD-Card detect
This commit is contained in:
Scott Lahteine 2016-11-12 12:42:02 -06:00 committed by GitHub
commit 7972378828
3 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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)

View File

@ -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