timeout is float

master
Greg Hogan 2019-10-15 23:38:24 -07:00
parent 711810d2f0
commit 0f361999bd
1 changed files with 1 additions and 1 deletions

View File

@ -379,7 +379,7 @@ class IsoTpMessage():
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