From 33c7c6e11d0904e0e6710178aa24a4ff3a9bf655 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Fri, 20 Mar 2015 01:27:14 -0700 Subject: [PATCH] Conditionals.h requires Arduino.h --- Marlin/Conditionals.h | 1 + Marlin/SanityCheck.h | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Marlin/Conditionals.h b/Marlin/Conditionals.h index 6e62bf7eed..bf1886277c 100644 --- a/Marlin/Conditionals.h +++ b/Marlin/Conditionals.h @@ -5,6 +5,7 @@ #ifndef CONDITIONALS_H #define CONDITIONALS_H + #include "Arduino.h" #include "pins.h" /** diff --git a/Marlin/SanityCheck.h b/Marlin/SanityCheck.h index cad6353aef..1a07f6b44d 100644 --- a/Marlin/SanityCheck.h +++ b/Marlin/SanityCheck.h @@ -111,13 +111,13 @@ // Make sure probing points are reachable #if LEFT_PROBE_BED_POSITION < MIN_PROBE_X - #error "The given LEFT_PROBE_BED_POSITION can't be reached by the probe." + #error The given LEFT_PROBE_BED_POSITION can't be reached by the probe. #elif RIGHT_PROBE_BED_POSITION > MAX_PROBE_X - #error "The given RIGHT_PROBE_BED_POSITION can't be reached by the probe." + #error The given RIGHT_PROBE_BED_POSITION can't be reached by the probe. #elif FRONT_PROBE_BED_POSITION < MIN_PROBE_Y - #error "The given FRONT_PROBE_BED_POSITION can't be reached by the probe." + #error The given FRONT_PROBE_BED_POSITION can't be reached by the probe. #elif BACK_PROBE_BED_POSITION > MAX_PROBE_Y - #error "The given BACK_PROBE_BED_POSITION can't be reached by the probe." + #error The given BACK_PROBE_BED_POSITION can't be reached by the probe. #endif #define PROBE_SIZE_X (X_PROBE_OFFSET_FROM_EXTRUDER * (AUTO_BED_LEVELING_GRID_POINTS-1))