From 1d8f61ca8a3a18b1243c88181fd1506ccc11894f Mon Sep 17 00:00:00 2001 From: Richard Wackerbarth Date: Thu, 21 May 2015 11:44:40 -0500 Subject: [PATCH] AT90USB is defined in pins.h --- Marlin/Conditionals.h | 4 ++-- Marlin/Marlin.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) 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!