1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-30 07:17:59 +00:00

Define extern delta only for delta

This commit is contained in:
Scott Lahteine 2015-07-14 22:55:56 -07:00 committed by Richard Wackerbarth
parent 77e80ef367
commit baa9199973

View File

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