Browse Source

Conditionals.h requires Arduino.h

Scott Lahteine 9 years ago
parent
commit
33c7c6e11d
2 changed files with 5 additions and 4 deletions
  1. 1
    0
      Marlin/Conditionals.h
  2. 4
    4
      Marlin/SanityCheck.h

+ 1
- 0
Marlin/Conditionals.h View File

@@ -5,6 +5,7 @@
5 5
 #ifndef CONDITIONALS_H
6 6
   #define CONDITIONALS_H
7 7
 
8
+  #include "Arduino.h"
8 9
   #include "pins.h"
9 10
 
10 11
   /**

+ 4
- 4
Marlin/SanityCheck.h View File

@@ -111,13 +111,13 @@
111 111
 
112 112
       // Make sure probing points are reachable
113 113
       #if LEFT_PROBE_BED_POSITION < MIN_PROBE_X
114
-        #error "The given LEFT_PROBE_BED_POSITION can't be reached by the probe."
114
+        #error The given LEFT_PROBE_BED_POSITION can't be reached by the probe.
115 115
       #elif RIGHT_PROBE_BED_POSITION > MAX_PROBE_X
116
-        #error "The given RIGHT_PROBE_BED_POSITION can't be reached by the probe."
116
+        #error The given RIGHT_PROBE_BED_POSITION can't be reached by the probe.
117 117
       #elif FRONT_PROBE_BED_POSITION < MIN_PROBE_Y
118
-        #error "The given FRONT_PROBE_BED_POSITION can't be reached by the probe."
118
+        #error The given FRONT_PROBE_BED_POSITION can't be reached by the probe.
119 119
       #elif BACK_PROBE_BED_POSITION > MAX_PROBE_Y
120
-        #error "The given BACK_PROBE_BED_POSITION can't be reached by the probe."
120
+        #error The given BACK_PROBE_BED_POSITION can't be reached by the probe.
121 121
       #endif
122 122
 
123 123
       #define PROBE_SIZE_X (X_PROBE_OFFSET_FROM_EXTRUDER * (AUTO_BED_LEVELING_GRID_POINTS-1))

Loading…
Cancel
Save