Skip to content

Commit 0e46446

Browse files
committed
fix flash script
1 parent f863b1b commit 0e46446

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

buildroot-external/package/vocalfusion/xvf3510-flash

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,15 @@ def send_image(
9090

9191
if direct:
9292
BOOT_SEL_PIN.switch_to_input()
93-
RST_N_PIN.switch_to_output(value=True)
93+
RST_N_PIN.switch_to_output()
94+
RST_N_PIN.value=1
9495

9596
spi = setup_spi(max_spi_speed_mhz)
9697

9798
if direct:
9899
RST_N_PIN.value=False
99-
BOOT_SEL_PIN.switch_to_output(value=True)
100+
BOOT_SEL_PIN.switch_to_output()
101+
BOOT_SEL_PIN.value=True
100102
RST_N_PIN.value=True
101103
else:
102104
set_boot_sel()

0 commit comments

Comments
 (0)