Merge pull request #1073 from WingTangWong/wing-fix-float-delta
Wing fix float delta
This commit is contained in:
commit
b360306881
1 changed files with 4 additions and 0 deletions
|
@ -318,7 +318,11 @@ bool cancel_heatup = false ;
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
const char axis_codes[NUM_AXIS] = {'X', 'Y', 'Z', 'E'};
|
const char axis_codes[NUM_AXIS] = {'X', 'Y', 'Z', 'E'};
|
||||||
static float destination[NUM_AXIS] = { 0.0, 0.0, 0.0, 0.0};
|
static float destination[NUM_AXIS] = { 0.0, 0.0, 0.0, 0.0};
|
||||||
|
|
||||||
|
#ifndef DELTA
|
||||||
static float delta[3] = {0.0, 0.0, 0.0};
|
static float delta[3] = {0.0, 0.0, 0.0};
|
||||||
|
#endif
|
||||||
|
|
||||||
static float offset[3] = {0.0, 0.0, 0.0};
|
static float offset[3] = {0.0, 0.0, 0.0};
|
||||||
static bool home_all_axis = true;
|
static bool home_all_axis = true;
|
||||||
static float feedrate = 1500.0, next_feedrate, saved_feedrate;
|
static float feedrate = 1500.0, next_feedrate, saved_feedrate;
|
||||||
|
|
Reference in a new issue