mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-18 21:14:01 +08:00
tici: set STM_BOOT0 in reset (#33015)
* tici: reset panda boot0
* ooops
old-commit-hash: 560e37cd83
This commit is contained in:
@@ -563,8 +563,10 @@ class Tici(HardwareBase):
|
||||
|
||||
def reset_internal_panda(self):
|
||||
gpio_init(GPIO.STM_RST_N, True)
|
||||
gpio_init(GPIO.STM_BOOT0, True)
|
||||
|
||||
gpio_set(GPIO.STM_RST_N, 1)
|
||||
gpio_set(GPIO.STM_BOOT0, 0)
|
||||
time.sleep(1)
|
||||
gpio_set(GPIO.STM_RST_N, 0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user