diff --git a/openxc/tools/obd2scanner.py b/openxc/tools/obd2scanner.py index 565b3fc3..1f34af76 100644 --- a/openxc/tools/obd2scanner.py +++ b/openxc/tools/obd2scanner.py @@ -18,8 +18,7 @@ def scan(controller, bus=None): # what the vehicle reports that it *should* support. print("Beginning sequential scan of all OBD-II PIDs") for pid in range(0, 0x88): - response = controller.create_diagnostic_request(0x7df, mode=0x1, bus=bus, - wait_for_first_response=True, pid=pid) + response = controller.create_diagnostic_request(0x7df, mode=0x1, bus=bus, wait_for_first_response=True, pid=pid) if response is not None: no_response = True for item in response[1]: