MKFirmware / MK4duo

MK4duo Firmware Printers 3D for Arduino and Arduino due
http://www.marlinkimbra.it
GNU General Public License v3.0
206 stars 117 forks source link

M218 does nothing #743

Closed c3D-Dan closed 4 years ago

c3D-Dan commented 4 years ago

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

MagoKimbra commented 4 years ago

Ok check this!

c3D-Dan commented 4 years ago

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. `/**

/**

if HOTENDS > 1

define CODE_M218

/**

}

endif // HOTENDS > 1`

MagoKimbra commented 4 years ago

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.