Patch delta endstop adjustment config

This commit is contained in:
Scott Lahteine 2016-10-09 13:32:30 -05:00
parent 28d41b48e3
commit 48761f2021
7 changed files with 16 additions and 11 deletions

View File

@ -706,14 +706,8 @@
// Stepper pulse duration, in cycles
#define STEP_PULSE_CYCLES ((MINIMUM_STEPPER_PULSE) * CYCLES_PER_MICROSECOND)
#ifndef DELTA_ENDSTOP_ADJ_X
#define DELTA_ENDSTOP_ADJ_X 0
#endif
#ifndef DELTA_ENDSTOP_ADJ_Y
#define DELTA_ENDSTOP_ADJ_Y 0
#endif
#ifndef DELTA_ENDSTOP_ADJ_Z
#define DELTA_ENDSTOP_ADJ_Z 0
#ifndef DELTA_ENDSTOP_ADJ
#define DELTA_ENDSTOP_ADJ { 0 }
#endif
#endif // CONDITIONALS_POST_H

View File

@ -589,9 +589,10 @@ void Config_ResetDefault() {
#endif
#if ENABLED(DELTA)
endstop_adj[X_AXIS] = DELTA_ENDSTOP_ADJ_X;
endstop_adj[Y_AXIS] = DELTA_ENDSTOP_ADJ_Y;
endstop_adj[Z_AXIS] = DELTA_ENDSTOP_ADJ_Z;
const float adj[ABC] = DELTA_ENDSTOP_ADJ;
endstop_adj[A_AXIS] = adj[A_AXIS];
endstop_adj[B_AXIS] = adj[B_AXIS];
endstop_adj[C_AXIS] = adj[C_AXIS];
delta_radius = DELTA_RADIUS;
delta_diagonal_rod = DELTA_DIAGONAL_ROD;
delta_segments_per_second = DELTA_SEGMENTS_PER_SECOND;

View File

@ -441,6 +441,8 @@
// in ultralcd.cpp@lcd_delta_calibrate_menu()
//#define DELTA_CALIBRATION_MENU
//#define DELTA_ENDSTOP_ADJ { 0, 0, 0 }
#endif
// Enable this option for Toshiba steppers

View File

@ -441,6 +441,8 @@
// in ultralcd.cpp@lcd_delta_calibrate_menu()
//#define DELTA_CALIBRATION_MENU
//#define DELTA_ENDSTOP_ADJ { 0, 0, 0 }
#endif
// Enable this option for Toshiba steppers

View File

@ -441,6 +441,8 @@
// in ultralcd.cpp@lcd_delta_calibrate_menu()
//#define DELTA_CALIBRATION_MENU
//#define DELTA_ENDSTOP_ADJ { 0, 0, 0 }
#endif
// Enable this option for Toshiba steppers

View File

@ -430,6 +430,8 @@
// in ultralcd.cpp@lcd_delta_calibrate_menu()
//#define DELTA_CALIBRATION_MENU
//#define DELTA_ENDSTOP_ADJ { 0, 0, 0 }
#endif
// Enable this option for Toshiba steppers

View File

@ -439,6 +439,8 @@
// in ultralcd.cpp@lcd_delta_calibrate_menu()
//#define DELTA_CALIBRATION_MENU
//#define DELTA_ENDSTOP_ADJ { 0, 0, 0 }
#endif
// Enable this option for Toshiba steppers