diff options
author | djwlindenaar <32413299+djwlindenaar@users.noreply.github.com> | 2020-09-12 12:07:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-12 12:07:52 +0200 |
commit | 1cacf52827f6bfcf991f08b8c4efef8044a81107 (patch) | |
tree | f0cdc4a3bc1998388ee8f9de8a1e8efdd8524e42 | |
parent | ac8f9cb58ae0176ec4740c28b0d9eecf2c1f806b (diff) | |
download | pycomlynx-1cacf52827f6bfcf991f08b8c4efef8044a81107.tar.gz pycomlynx-1cacf52827f6bfcf991f08b8c4efef8044a81107.zip |
Fix mistaken request bit in byte 5 of the CAN message
The request bit was not set in the CAN message, therefore many parameters did not return on my ULX3600o/HV. With this bit set all return
-rw-r--r-- | comlynx.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |