pandad: support GPIO recovery when in bootstub (#28090)

pandad: recover when in bootstub

Co-authored-by: Comma Device <device@comma.ai>
This commit is contained in:
Adeeb Shihadeh
2023-05-03 20:27:32 -07:00
committed by GitHub
parent 177ca52e76
commit 8a6312ef14
2 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -581,8 +581,9 @@ class Tici(HardwareBase):
gpio_set(GPIO.STM_RST_N, 1)
gpio_set(GPIO.STM_BOOT0, 1)
time.sleep(2)
time.sleep(1)
gpio_set(GPIO.STM_RST_N, 0)
time.sleep(1)
gpio_set(GPIO.STM_BOOT0, 0)