File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ def _recv_internal(
90
90
msg = can .Message ()
91
91
msg .arbitration_id = frame .arbitration_id
92
92
msg .dlc = frame .can_dlc
93
- msg .data = bytearray (frame .data )[0 : msg .dlc ]
93
+ msg .data = bytearray (frame .data )[0 : msg .dlc ]
94
94
msg .timestamp = frame .timestamp
95
95
msg .channel = self .channel_info
96
96
msg .is_extended_id = frame .is_extended_id
Original file line number Diff line number Diff line change 1
1
.. _gs_usb :
2
2
3
3
CAN driver based on WCID for Geschwister Schneider USB/CAN devices and bytewerk.org candleLight USB CAN interfaces
4
- ========================
4
+ ==================================================================================================================
5
5
6
6
Windows/Linux/Mac CAN driver based on WCID for Geschwister Schneider USB/CAN devices and candleLight USB CAN interfaces.
7
7
8
8
Install: ``pip install "python-can[gs_usb]" ``
9
+
9
10
Usage: pass ``bus `` and ``address `` to open the device. The parameters can be got by ``pyusb ``
10
11
11
12
@@ -20,7 +21,7 @@ Supported platform
20
21
21
22
Windows, Linux and Mac.
22
23
23
- Note: Since ``pyusb` `` is used, ``libusb-win32 `` usb driver is required to install in Windows
24
+ Note: Since ``pyusb `` is used, ``libusb-win32 `` usb driver is required to be installed in Windows
24
25
25
26
Bus
26
27
---
You can’t perform that action at this time.
0 commit comments