We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 486f776 commit 3bbc89cCopy full SHA for 3bbc89c
can/interfaces/vector/canlib.py
@@ -174,3 +174,9 @@ def shutdown(self):
174
vxlapi.xlDeactivateChannel(self.port_handle, self.mask)
175
vxlapi.xlClosePort(self.port_handle)
176
vxlapi.xlCloseDriver()
177
+
178
+ def reset(self):
179
+ vxlapi.xlDeactivateChannel(self.port_handle, self.mask)
180
+ vxlapi.xlActivateChannel(self.port_handle, self.mask,
181
+ vxlapi.XL_BUS_TYPE_CAN, 0)
182
0 commit comments