mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-28 18:33:45 +08:00
can_replay fixups for bxcan hw
old-commit-hash: 9b2665f0c1cc82ba681a7760599fce917c8eb93f
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