diff --git a/Marlin/Conditionals.h b/Marlin/Conditionals.h index 358131e4a..59a599bc8 100644 --- a/Marlin/Conditionals.h +++ b/Marlin/Conditionals.h @@ -205,6 +205,8 @@ #define CONDITIONALS_H + #include "pins.h" + #ifndef AT90USB #define HardwareSerial_h // trick to disable the standard HWserial #endif @@ -215,8 +217,6 @@ #include "WProgram.h" #endif - #include "pins.h" - /** * ENDSTOPPULLUPS */ diff --git a/Marlin/Marlin.h b/Marlin/Marlin.h index 7eff6a1e6..23a6f1a14 100644 --- a/Marlin/Marlin.h +++ b/Marlin/Marlin.h @@ -20,6 +20,7 @@ #include "fastio.h" #include "Configuration.h" +#include "pins.h" #ifndef SANITYCHECK_H #error Your Configuration.h and Configuration_adv.h files are outdated!