Skip to content

Commit

Permalink
Extend wait time (seems to improve stability on 369-in-1
Browse files Browse the repository at this point in the history
  • Loading branch information
metroid-maniac committed Apr 20, 2023
1 parent 0763aeb commit 11979be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion payload.c
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ __attribute__((target("arm"))) void flush_sram_ram(unsigned sa, unsigned save_si

if (flash_type == 0) return;

for (volatile int i = 0; i < 128; ++i)
for (volatile int i = 0; i < 1024; ++i)
__asm("nop");

if (flash_type == 1) {
Expand Down

0 comments on commit 11979be

Please sign in to comment.