Skip to content

Commit dc7397e

Browse files
felixdivomergify-bot
authored andcommitted
Better documentation of parameters
1 parent 9080c47 commit dc7397e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

can/interfaces/robotell.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ def __init__(
5656
):
5757
"""
5858
:param str channel:
59-
port of underlying serial or usb device (e.g. /dev/ttyUSB0, COM8, ...)
60-
Must not be empty.
59+
port of underlying serial or usb device (e.g. ``/dev/ttyUSB0``, ``COM8``, ...)
60+
Must not be empty. Can also end with ``@115200`` (or similarly) to specify the baudrate.
6161
:param int ttyBaudrate:
62-
baudrate of underlying serial or usb device
62+
baudrate of underlying serial or usb device (Ignored if set via the ``channel`` parameter)
6363
:param int bitrate:
6464
CAN Bitrate in bit/s. Value is stored in the adapter and will be used as default if no bitrate is specified
6565
:param bool rtscts:

0 commit comments

Comments
 (0)