Fixed move from panel for delta bot #557

This commit is contained in:
Nicolas Rossi
2013-07-28 22:54:37 +02:00
parent 1561c6df51
commit 55c287a69e
3 changed files with 25 additions and 3 deletions

View File

@ -198,14 +198,15 @@ int EtoPPressure=0;
bool powersupply = true;
#endif
#ifdef DELTA
float delta[3] = {0.0, 0.0, 0.0};
#endif
//===========================================================================
//=============================private variables=============================
//===========================================================================
const char axis_codes[NUM_AXIS] = {'X', 'Y', 'Z', 'E'};
static float destination[NUM_AXIS] = { 0.0, 0.0, 0.0, 0.0};
#ifdef DELTA
static float delta[3] = {0.0, 0.0, 0.0};
#endif
static float offset[3] = {0.0, 0.0, 0.0};
static bool home_all_axis = true;
static float feedrate = 1500.0, next_feedrate, saved_feedrate;