diff --git a/Firmware/CHANGELOG.md b/Firmware/CHANGELOG.md index cffbdd81..d5e934a3 100644 --- a/Firmware/CHANGELOG.md +++ b/Firmware/CHANGELOG.md @@ -1,3 +1,8 @@ +## [0.3.4] - 2018-02-13 + +### Fixed +* Broken way to check for python 2. Python 2 not supported yet. + ## [0.3.3] - 2018-02-12 ### Added diff --git a/tools/odrive/protocol.py b/tools/odrive/protocol.py index 9e78d3a1..18f44a41 100644 --- a/tools/odrive/protocol.py +++ b/tools/odrive/protocol.py @@ -6,14 +6,14 @@ import sys import abc -if sys.version_info >= (3, 4): - ABC = abc.ABC -else: - ABC = abc.ABCMeta('ABC', (), {}) +# if sys.version_info >= (3, 4): +ABC = abc.ABC +# else: +# ABC = abc.ABCMeta('ABC', (), {}) -if sys.version_info <= (3, 3): - from monotonic import monotonic - time.monotonic = monotonic +# if sys.version_info <= (3, 3): +# from monotonic import monotonic +# time.monotonic = monotonic SYNC_BYTE = 0xAA CRC8_INIT = 0x42