MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
16.23k stars 19.22k forks source link

String of serial commands doesn't run all of them. #6551

Closed Tannoo closed 7 years ago

Tannoo commented 7 years ago

Example: enqueue_and_echo_command("G28\nM190 S50\nM109 S195\nG29 P1\nM104 S0\nM140 S0");

Serial monitor shows:

enqueing "G28
M190 S50
M109 S195
G29 P1
M104 S0
M140 S0"

G28 runs. That's it. Marlin has ignored the rest of the commands.

This does the same thing. G28 runs, but nothing else.

sprintf_P(CUSTOM_MESH_GCODE, PSTR("G28\nM190 S%i\nM109 S%i\nG29 P1\nM104 S0\nM140 S0"), PREHEAT_1_TEMP_BED, PREHEAT_1_TEMP_HOTEND);
enqueue_and_echo_command(CUSTOM_MESH_GCODE);
github-actions[bot] commented 2 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.