Skip to content

Commit 5025f1f

Browse files
Fixed issue #33.
Signed-off-by: David Rebbe <drebbe@intrepidcs.com>
1 parent 9f233bf commit 5025f1f

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

include/methods.h

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1110,7 +1110,15 @@ PyObject* meth_enable_network_com(PyObject* self, PyObject* args); //icsneoEnabl
11101110
#define _DOC_SET_BIT_RATE \
11111111
MODULE_NAME ".set_bit_rate(device, BitRate, NetworkID)\n" \
11121112
"\n" \
1113-
"Sets the bitrate for a given Network ID on the device..\n" \
1113+
"Specifies bit rate setting. Valid values depend on the network specified.\n" \
1114+
"\n" \
1115+
"For the networks NETID_HSCAN, NETID_MSCAN, NETID_SWCAN, NETID_FIRE_HSCAN2, NETID_HSCAN3, NETID_LSFTCAN,\n" \
1116+
"valid bit rates are 2000, 33333, 50000, 62500, 83333, 100000, 125000, 250000, 500000, 800000, 1000000\n" \
1117+
"\n" \
1118+
"For the networks NETID_LIN, NETID_ISO2, NETID_FIRE_LIN2, NETID_FIRE_LIN3, NETID_FIRE_LIN4,\n" \
1119+
"valid bit rates are\n" \
1120+
"\n" \
1121+
"For the network NETID_FIRE_CGI valid bit rates are 625000 and 115200\n" \
11141122
"\n" \
11151123
"Args:\n" \
11161124
"\tdevice (:class:`" MODULE_NAME "." NEO_DEVICE_OBJECT_NAME "`): :class:`" MODULE_NAME "." NEO_DEVICE_OBJECT_NAME "`\n\n" \
@@ -1138,7 +1146,7 @@ PyObject* meth_enable_network_com(PyObject* self, PyObject* args); //icsneoEnabl
11381146
"\n"
11391147

11401148
#define _DOC_SET_BIT_RATE_EX \
1141-
MODULE_NAME ".set_fd_bit_rate_ex(device, BitRate, NetworkID, iOptions)\n" \
1149+
MODULE_NAME ".set_bit_rate_ex(device, BitRate, NetworkID, iOptions)\n" \
11421150
"\n" \
11431151
"Sets the bitrate for a given Network ID on the device with extended options.\n" \
11441152
"\n" \

0 commit comments

Comments
 (0)