Hi all,
i am currently modifying Marlin (Date 24th Dec. 2014) to work with a dual X Carriage setup. SO far changing the configuration was pretty much straight forward, but now i get a compile error in Marlin_main.cpp. 'extruder_offset' was not declared in this scope in x_home_pos
static float x_home_pos(int extruder) {
if (extruder == 0)
return base_home_pos(X_AXIS) + add_homing[X_AXIS];
else
// In dual carriage mode the extruder offset provides an override of the
// second X-carriage offset when homed - otherwise X2_HOME_POS is used.
// This allow soft recalibration of the second extruder offset position without firmware reflash
// (through the M218 command).
return (extruder_offset[X_AXIS][1] > 0) ? extruder_offset[X_AXIS][1] : X2_HOME_POS;
}
I made sure that extruder offset x and y are defined but can't find any other reason for the problem.
Any help is much appreciated.
Cheers
Björn
[
www.bonkers.de]
[
merlin-hotend.de]
[
www.hackerspace-ffm.de]