Skip to content

Commit

Permalink
Fix script indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
PPRAKA30 committed Feb 27, 2020
1 parent 6364d95 commit 6206981
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions openxc/tools/obd2scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]:
Expand Down

0 comments on commit 6206981

Please sign in to comment.