Do the sanity check just once per build
This commit is contained in:
parent
24a1a16e5d
commit
fa647cca23
|
@ -35,6 +35,5 @@
|
||||||
#endif
|
#endif
|
||||||
#include "Arduino.h"
|
#include "Arduino.h"
|
||||||
#include "Conditionals_post.h"
|
#include "Conditionals_post.h"
|
||||||
#include "SanityCheck.h"
|
|
||||||
|
|
||||||
#endif // MARLIN_CONFIG_H
|
#endif // MARLIN_CONFIG_H
|
||||||
|
|
|
@ -21,12 +21,12 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SanityCheck.h
|
* SanityCheck.cpp
|
||||||
*
|
*
|
||||||
* Test configuration values for errors at compile-time.
|
* Test configuration values for errors at compile-time.
|
||||||
|
* This is done only once, here, to speed up compilation time.
|
||||||
*/
|
*/
|
||||||
#ifndef SANITYCHECK_H
|
#include "MarlinConfig.h"
|
||||||
#define SANITYCHECK_H
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Due to the high number of issues related with old versions of Arduino IDE
|
* Due to the high number of issues related with old versions of Arduino IDE
|
||||||
|
@ -727,5 +727,3 @@
|
||||||
#elif defined(HOMING_FEEDRATE)
|
#elif defined(HOMING_FEEDRATE)
|
||||||
#error "HOMING_FEEDRATE is deprecated. Set individual rates with HOMING_FEEDRATE_(XY|Z|E) instead."
|
#error "HOMING_FEEDRATE is deprecated. Set individual rates with HOMING_FEEDRATE_(XY|Z|E) instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif //SANITYCHECK_H
|
|
Loading…
Reference in a new issue