chiark / gitweb /
Add a wrapper around serial to monkey patch support for custom baudrates
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Mon, 30 Nov 2015 21:17:55 +0000 (16:17 -0500)
committerYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Mon, 30 Nov 2015 21:27:52 +0000 (16:27 -0500)
commit97a4808bf2e4e133ee610405508f5abd6330fed4
tree70447779fe2083007dd0b730affd888e4553ae90
parent5dfa10bd4be7f48bc87f5f68d99059c65fa22db6
Add a wrapper around serial to monkey patch support for custom baudrates

This fixes T316.
The monkey patch (https://en.wikipedia.org/wiki/Monkey_patch) replaces
the set_special_baudrate from 2.6 by the function from 2.7 which fixes
setting 250000 baudrate on linux.
See T316 for more details on the actual patch
Cura/gui/firmwareInstall.py
Cura/util/machineCom.py
Cura/util/serialWrapper.py [new file with mode: 0644]