Browse Source

Conditionals.h requires Arduino.h

Scott Lahteine 10 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
 #ifndef CONDITIONALS_H
5
 #ifndef CONDITIONALS_H
6
   #define CONDITIONALS_H
6
   #define CONDITIONALS_H
7
 
7
 
8
+  #include "Arduino.h"
8
   #include "pins.h"
9
   #include "pins.h"
9
 
10
 
10
   /**
11
   /**

+ 4
- 4
Marlin/SanityCheck.h View File

111
 
111
 
112
       // Make sure probing points are reachable
112
       // Make sure probing points are reachable
113
       #if LEFT_PROBE_BED_POSITION < MIN_PROBE_X
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
       #elif RIGHT_PROBE_BED_POSITION > MAX_PROBE_X
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
       #elif FRONT_PROBE_BED_POSITION < MIN_PROBE_Y
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
       #elif BACK_PROBE_BED_POSITION > MAX_PROBE_Y
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
       #endif
121
       #endif
122
 
122
 
123
       #define PROBE_SIZE_X (X_PROBE_OFFSET_FROM_EXTRUDER * (AUTO_BED_LEVELING_GRID_POINTS-1))
123
       #define PROBE_SIZE_X (X_PROBE_OFFSET_FROM_EXTRUDER * (AUTO_BED_LEVELING_GRID_POINTS-1))

Loading…
Cancel
Save