Skip to content

Commit 251b039

Browse files
committed
typos and formatting
1 parent 4048765 commit 251b039

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

can/interfaces/nican.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
TODO: We could implement this interface such that setting other filters
99
could work when the initial filters were set to zero using the
1010
software fallback. Or could the software filters even be changed
11-
after the connection was opened? We need to document that bahaviour!
11+
after the connection was opened? We need to document that behaviour!
1212
See also the IXXAT interface.
1313
1414
"""

doc/interfaces/ixxat.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,13 @@ bit 0 of can_id/mask parameters represents the RTR field in CAN frame. See IXXAT
5454
VCI documentation, section "Message filters" for more info.
5555

5656
List available devices
57-
-----------------
57+
----------------------
5858
In case you have connected multiple IXXAT devices, you have to select them by using their unique hardware id.
5959
To get a list of all connected IXXAT you can use the function ``get_ixxat_hwids()`` as demonstrated below:
6060

6161
>>> from can.interfaces.ixxat import get_ixxat_hwids
62-
>>> for hwid in get_ixxat_hwids(): print("Found IXXAT with hardware id '%s'." % hwid)
62+
>>> for hwid in get_ixxat_hwids():
63+
... print("Found IXXAT with hardware id '%s'." % hwid)
6364
Found IXXAT with hardware id 'HW441489'.
6465
Found IXXAT with hardware id 'HW107422'.
6566

@@ -71,11 +72,11 @@ The IXXAT :class:`~can.BusABC` object is a fairly straightforward interface
7172
to the IXXAT VCI library. It can open a specific device ID or use the
7273
first one found.
7374

74-
The frame exchange *do not involve threads* in the background but is
75+
The frame exchange *does not involve threads* in the background but is
7576
explicitly instantiated by the caller.
7677

7778
- ``recv()`` is a blocking call with optional timeout.
7879
- ``send()`` is not blocking but may raise a VCIError if the TX FIFO is full
7980

8081
RX and TX FIFO sizes are configurable with ``rxFifoSize`` and ``txFifoSize``
81-
options, defaulting at 16 for both.
82+
options, defaulting to 16 for both.

0 commit comments

Comments
 (0)