Do the sanity check just once per build

This commit is contained in:
Scott Lahteine 2016-07-26 12:28:49 -07:00
parent 24a1a16e5d
commit fa647cca23
2 changed files with 3 additions and 6 deletions

View File

@ -35,6 +35,5 @@
#endif
#include "Arduino.h"
#include "Conditionals_post.h"
#include "SanityCheck.h"
#endif // MARLIN_CONFIG_H

View File

@ -21,12 +21,12 @@
*/
/**
* SanityCheck.h
* SanityCheck.cpp
*
* Test configuration values for errors at compile-time.
* This is done only once, here, to speed up compilation time.
*/
#ifndef SANITYCHECK_H
#define SANITYCHECK_H
#include "MarlinConfig.h"
/**
* Due to the high number of issues related with old versions of Arduino IDE
@ -727,5 +727,3 @@
#elif defined(HOMING_FEEDRATE)
#error "HOMING_FEEDRATE is deprecated. Set individual rates with HOMING_FEEDRATE_(XY|Z|E) instead."
#endif
#endif //SANITYCHECK_H