Static delta[] for SCARA
This commit is contained in:
parent
6b919e14c1
commit
92119d0f7d
@ -309,9 +309,8 @@ bool target_direction;
|
|||||||
;
|
;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(DELTA) || defined(SCARA)
|
|
||||||
static float delta[3] = { 0, 0, 0 };
|
|
||||||
#ifdef DELTA
|
#ifdef DELTA
|
||||||
|
float delta[3] = { 0 };
|
||||||
#define SIN_60 0.8660254037844386
|
#define SIN_60 0.8660254037844386
|
||||||
#define COS_60 0.5
|
#define COS_60 0.5
|
||||||
float endstop_adj[3] = { 0 };
|
float endstop_adj[3] = { 0 };
|
||||||
@ -330,16 +329,15 @@ bool target_direction;
|
|||||||
int delta_grid_spacing[2] = { 0, 0 };
|
int delta_grid_spacing[2] = { 0, 0 };
|
||||||
float bed_level[AUTO_BED_LEVELING_GRID_POINTS][AUTO_BED_LEVELING_GRID_POINTS];
|
float bed_level[AUTO_BED_LEVELING_GRID_POINTS][AUTO_BED_LEVELING_GRID_POINTS];
|
||||||
#endif
|
#endif
|
||||||
|
#else
|
||||||
|
static bool home_all_axis = true;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef SCARA
|
#ifdef SCARA
|
||||||
|
static float delta[3] = { 0 };
|
||||||
float axis_scaling[3] = { 1, 1, 1 }; // Build size scaling, default to 1
|
float axis_scaling[3] = { 1, 1, 1 }; // Build size scaling, default to 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#elif !defined(DELTA)
|
|
||||||
static bool home_all_axis = true;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef FILAMENT_SENSOR
|
#ifdef FILAMENT_SENSOR
|
||||||
//Variables for Filament Sensor input
|
//Variables for Filament Sensor input
|
||||||
float filament_width_nominal = DEFAULT_NOMINAL_FILAMENT_DIA; //Set nominal filament width, can be changed with M404
|
float filament_width_nominal = DEFAULT_NOMINAL_FILAMENT_DIA; //Set nominal filament width, can be changed with M404
|
||||||
|
Loading…
Reference in New Issue
Block a user