summaryrefslogtreecommitdiff
path: root/tests/pyb/can.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pyb/can.py')
-rw-r--r--tests/pyb/can.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/pyb/can.py b/tests/pyb/can.py
index cf8089a3b..594d1d509 100644
--- a/tests/pyb/can.py
+++ b/tests/pyb/can.py
@@ -8,6 +8,7 @@ for bus in (-1, 0, 1, 2, 3, "YA", "YB", "YC"):
print("CAN", bus)
except ValueError:
print("ValueError", bus)
+CAN(1).deinit()
CAN.initfilterbanks(14)
can = CAN(1)