Browse Source

Do the sanity check just once per build

pull/1/head
Scott Lahteine 9 years ago
parent
commit
fa647cca23
  1. 1
      Marlin/MarlinConfig.h
  2. 8
      Marlin/SanityCheck.cpp

1
Marlin/MarlinConfig.h

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

8
Marlin/SanityCheck.h → Marlin/SanityCheck.cpp

@ -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
Loading…
Cancel
Save