aboutsummaryrefslogtreecommitdiff
path: root/embassy-rp/src/bootsel.rs
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2024-07-16 16:40:29 +0200
committerDario Nieuwenhuis <[email protected]>2024-07-16 16:40:54 +0200
commita0f8948c1c49cc18cd70169e00c357dec202107a (patch)
tree1467c52366cad788f871af9a66a37b4d97ce30e1 /embassy-rp/src/bootsel.rs
parente1e99879a63408d17d0c947ca65fbeea827467c9 (diff)
Update nightly, fix error with rp inline asm.
Diffstat (limited to 'embassy-rp/src/bootsel.rs')
-rw-r--r--embassy-rp/src/bootsel.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-rp/src/bootsel.rs b/embassy-rp/src/bootsel.rs
index 540255ae3..d24ce7bd8 100644
--- a/embassy-rp/src/bootsel.rs
+++ b/embassy-rp/src/bootsel.rs
@@ -57,9 +57,9 @@ mod ram_helpers {
57 "str {val}, [{cs_gpio}, $GPIO_CTRL]", 57 "str {val}, [{cs_gpio}, $GPIO_CTRL]",
58 58
59 // ...then wait for the state to settle... 59 // ...then wait for the state to settle...
60 "1:", // ~4000 cycle delay loop 60 "2:", // ~4000 cycle delay loop
61 "subs {val}, #8", 61 "subs {val}, #8",
62 "bne 1b", 62 "bne 2b",
63 63
64 // ...we can read the current state of bootsel 64 // ...we can read the current state of bootsel
65 "ldr {val}, [{cs_gpio}, $GPIO_STATUS]", 65 "ldr {val}, [{cs_gpio}, $GPIO_STATUS]",