Closed c3D-Dan closed 4 years ago
Ok check this!
I found your commit after I got it working, but got compile error. ..." e/nozzle/nozzle.h:57:19: note: candidate expects 1 argument, 0 provided."
Here was my solution Thanks for sorting this quickly. `/**
*/
/**
/**
Z
if (commands.get_target_driver(218)) return; //if (!commands.get_target_tool(218)) return;
// No arguments? Show M218 report. if (parser.seen_any()) { nozzle.print_M218(TARGET_HOTEND); return; }
if (parser.seen('X')) nozzle.data.hotend_offset[X_AXIS][TARGET_HOTEND] = parser.value_linear_units(); if (parser.seen('Y')) nozzle.data.hotend_offset[Y_AXIS][TARGET_HOTEND] = parser.value_linear_units(); if (parser.seen('Z')) nozzle.data.hotend_offset[Z_AXIS][TARGET_HOTEND] = parser.value_linear_units();
}
But did you just copy the M218.h file into your firmware, or all the firmware? Because the function print_M218 in nozzle class no longer has any arguments so the print_M218 (TARGET_HOTEND) change is wrong. I downloaded and compiled perfectly for more Hotend without problems.
2 Extruders, 4.3.9 M218 T1 X5 Y5 Z5 Nothing happens Check with M503 21:12:04.866 : Config:Hotend offset (unit): T X Y Z:
21:12:04.870 : Config: M218 T0 X0.000 Y0.000 Z0.000
21:12:04.870 : Config:Hotend offset (unit): T X Y Z:
21:12:04.874 : Config: M218 T1 X0.000 Y0.000 Z0.000
T0 - Nothing no movement
T1 - Nothing no movement