Skip to content

Commit

Permalink
timeout is float
Browse files Browse the repository at this point in the history
  • Loading branch information
gregjhogan committed Oct 16, 2019
1 parent 711810d commit 0f36199
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/uds.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ def _isotp_rx_next(self) -> None:
if self.debug: print("ISO-TP: TX - flow control wait")

class UdsClient():
def __init__(self, panda, tx_addr: int, rx_addr: int=None, bus: int=0, timeout: int=10, debug: bool=False):
def __init__(self, panda, tx_addr: int, rx_addr: int=None, bus: int=0, timeout: float=10, debug: bool=False):
self.panda = panda
self.bus = bus
self.tx_addr = tx_addr
Expand Down

0 comments on commit 0f36199

Please sign in to comment.