Define extern delta only for delta

master
Scott Lahteine 9 years ago committed by Richard Wackerbarth
parent 77e80ef367
commit baa9199973

@ -263,9 +263,9 @@ extern float max_pos[3]; // axis[n].max_pos
extern bool axis_known_position[3]; // axis[n].is_known extern bool axis_known_position[3]; // axis[n].is_known
#if defined(DELTA) || defined(SCARA) #if defined(DELTA) || defined(SCARA)
extern float delta[3];
void calculate_delta(float cartesian[3]); void calculate_delta(float cartesian[3]);
#ifdef DELTA #ifdef DELTA
extern float delta[3];
extern float endstop_adj[3]; // axis[n].endstop_adj extern float endstop_adj[3]; // axis[n].endstop_adj
extern float delta_radius; extern float delta_radius;
extern float delta_diagonal_rod; extern float delta_diagonal_rod;

Loading…
Cancel
Save