AnHardt / Marlin

Reprap FW with look ahead. SDcard and LCD support. It works on Gen6, Ultimaker, RAMPS and Sanguinololu
GNU General Public License v3.0
1 stars 1 forks source link

Don't send "ok" for commands injected by enqueuecommands_P() #17

Closed AnHardt closed 8 years ago

AnHardt commented 8 years ago

Don't send "ok" for commands injected by enqueuecommands_P() like it is done for printing from sd-card.

Allow injection only in a fresh/empty command_queue line.

Fix for https://github.com/MarlinFirmware/Marlin/issues/2951

AnHardt commented 8 years ago

@thinkyhead What do you think about this?