mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-09-30 03:13:41 +08:00
can_replay fixups for bxcan hw
This commit is contained in:
@@ -26,12 +26,10 @@ def send_thread(j: PandaJungle, flock):
|
||||
with flock:
|
||||
j.flash()
|
||||
|
||||
j.reset()
|
||||
for i in [0, 1, 2, 3, 0xFFFF]:
|
||||
j.can_clear(i)
|
||||
j.set_can_speed_kbps(i, 500)
|
||||
j.set_can_data_speed_kbps(i, 500)
|
||||
j.set_ignition(False)
|
||||
time.sleep(5)
|
||||
j.set_ignition(True)
|
||||
j.set_panda_power(True)
|
||||
j.set_can_loopback(False)
|
||||
|
||||
Reference in New Issue
Block a user