chiark / gitweb /
Do not allow firmware to ask for a resend of more than 10 lines.
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Fri, 7 Aug 2015 20:09:08 +0000 (16:09 -0400)
committerYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Fri, 7 Aug 2015 20:10:41 +0000 (16:10 -0400)
commitd0e9b1546f26ef8970679aea9d3a612b56523a44
treed067f2f515f5af65c3a5676e6c752e5876ac5b63
parentf77df6b18ef9a50f33f95a4dd056830b40b3372f
Do not allow firmware to ask for a resend of more than 10 lines.

This is because if power gets interrupted or reset button is pressed,
then it will ask us to resend from line 0, and it will cause the print
to be restarted, which can be dangerous if there is a print half-finished
on the bed.
Fixes T37
Cura/util/machineCom.py