From c641e66f723d71dffa7fda5513d551b05b7d0406 Mon Sep 17 00:00:00 2001 From: Greg Hogan Date: Mon, 10 Dec 2018 20:39:26 -0800 Subject: [PATCH] fix typo --- python/uds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/uds.py b/python/uds.py index 3dac81f871c8fc..416c344696cbae 100644 --- a/python/uds.py +++ b/python/uds.py @@ -164,7 +164,7 @@ def _isotp_thread(panda, bus, tx_addr, tx_queue, rx_queue): msg = (chr(0x20 | (tx_frame["idx"] & 0xF)) + tx_frame["data"][i:i+7]).ljust(8, "\x00") if (DEBUG): print("S: {} {}".format(hex(tx_addr), hexlify(msg))) panda.can_send(tx_addr, msg, bus) - if delay_ms: + if delay_ts: time.sleep(delay_ts / delay_div) tx_frame["done"] = True