Add sanity checks for old names

This commit is contained in:
Scott Lahteine 2015-07-31 17:01:01 -07:00 committed by Richard Wackerbarth
parent f03e063750
commit 5418faa1f9

View file

@ -366,4 +366,12 @@
#error BEEPER has been replaced with BEEPER_PIN. Please update your pins definitions. #error BEEPER has been replaced with BEEPER_PIN. Please update your pins definitions.
#endif #endif
#ifdef SDCARDDETECT
#error SDCARDDETECT is now SD_DETECT_PIN. Please update your pins definitions.
#endif
#ifdef SDCARDDETECTINVERTED
#error SDCARDDETECTINVERTED is now SD_DETECT_INVERTED. Please update your configuration.
#endif
#endif //SANITYCHECK_H #endif //SANITYCHECK_H