Quote Originally Posted by wubwub View Post
// Travel limits after homing
#define X_MAX_POS_DEFAULT 450
#define X_MIN_POS_DEFAULT 0
#define Y_MAX_POS_DEFAULT 355
#define Y_MIN_POS_DEFAULT 0
#define Z_MAX_POS_DEFAULT 310
#define Z_MIN_POS_DEFAULT 0


#define X_MAX_LENGTH (base_max_pos[0] - base_min_pos[0])
#define Y_MAX_LENGTH (base_max_pos[1] - base_min_pos[1])
#define Z_MAX_LENGTH (base_max_pos[2] - base_min_pos[2])

I'm going to print the function and see if I can find a problem.
I am about to have a stroke, my arduino libraries decided to self destruct on their own... As stupid as that sounds, I'm getting huge errors on compilation now, files not being found etc. I'll fix that later, probably with a hammer.
Here is my Config module; https://drive.google.com/file/d/0Bx9...ew?usp=sharing