summaryrefslogtreecommitdiff
path: root/comlynx.py
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2020-09-12 20:43:40 +0200
committerGitHub <noreply@github.com>2020-09-12 20:43:40 +0200
commit833bb5855beca08cc0d60f531e8939e8cf4103f8 (patch)
treef0cdc4a3bc1998388ee8f9de8a1e8efdd8524e42 /comlynx.py
parentac8f9cb58ae0176ec4740c28b0d9eecf2c1f806b (diff)
parent1cacf52827f6bfcf991f08b8c4efef8044a81107 (diff)
downloadpycomlynx-master.tar.gz
pycomlynx-master.zip
Merge pull request #1 from djwlindenaar/masterHEADmaster
Fix mistaken request bit in byte 5 of the CAN message
Diffstat (limited to 'comlynx.py')
-rw-r--r--comlynx.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/comlynx.py b/comlynx.py
index d708ed3..658959f 100644
--- a/comlynx.py
+++ b/comlynx.py
@@ -391,7 +391,7 @@ class CanRequest(Message):
self._data[2] = 0xd0 #
self._data[3] = parameter_index # Parameter index
self._data[4] = parameter_sub_index # parameter sub-index
- self._data[5] = 0x00
+ self._data[5] = 0x80
self._data[6] = 0x00
self._data[7] = 0x00
self._data[8] = 0x00