Browse Source

Define extern delta only for delta

Scott Lahteine 9 years ago
parent
commit
baa9199973
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Marlin.h

+ 1
- 1
Marlin/Marlin.h View File

263
 extern bool axis_known_position[3]; // axis[n].is_known
263
 extern bool axis_known_position[3]; // axis[n].is_known
264
 
264
 
265
 #if defined(DELTA) || defined(SCARA)
265
 #if defined(DELTA) || defined(SCARA)
266
-  extern float delta[3];
267
   void calculate_delta(float cartesian[3]);
266
   void calculate_delta(float cartesian[3]);
268
   #ifdef DELTA
267
   #ifdef DELTA
268
+    extern float delta[3];
269
     extern float endstop_adj[3]; // axis[n].endstop_adj
269
     extern float endstop_adj[3]; // axis[n].endstop_adj
270
     extern float delta_radius;
270
     extern float delta_radius;
271
     extern float delta_diagonal_rod;
271
     extern float delta_diagonal_rod;

Loading…
Cancel
Save