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)
committernickthetait <tait@alephobjects.com>
Mon, 11 Jan 2016 15:10:18 +0000 (08:10 -0700)
commitfd7bf09bb98311cbc9af1e0a573c8c40776b4acc
tree31036353df1a8c9bba8db7043cc1f00f49f65db4
parent32c19eeaa52ce0ac45fc6acd3b7ac17bcba65e66
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]