diff options
| author | Ronald Weber <[email protected]> | 2025-02-19 17:29:21 +0100 |
|---|---|---|
| committer | Ronald Weber <[email protected]> | 2025-02-19 17:29:21 +0100 |
| commit | 7a2f038800e336f4b823afca9d3eb2e70e90b1e0 (patch) | |
| tree | 7c67c137b45e98d687c30ffad1a00f186cbef640 /embassy-rp/src | |
| parent | a1e75841f8940153ef8e0fdb38d6c8ba7322edb9 (diff) | |
doc: Fix "the the"
Diffstat (limited to 'embassy-rp/src')
| -rw-r--r-- | embassy-rp/src/float/div.rs | 2 | ||||
| -rw-r--r-- | embassy-rp/src/intrinsics.rs | 7 |
2 files changed, 4 insertions, 5 deletions
diff --git a/embassy-rp/src/float/div.rs b/embassy-rp/src/float/div.rs index aff0dcb07..87d1e38e5 100644 --- a/embassy-rp/src/float/div.rs +++ b/embassy-rp/src/float/div.rs | |||
| @@ -40,7 +40,7 @@ where | |||
| 40 | // using a wrong divisor, but we'll restore the divisor and result ourselves correctly. | 40 | // using a wrong divisor, but we'll restore the divisor and result ourselves correctly. |
| 41 | // This sets DIRTY, so any interruptor will save the state. | 41 | // This sets DIRTY, so any interruptor will save the state. |
| 42 | sio.div().udividend().write_value(dividend); | 42 | sio.div().udividend().write_value(dividend); |
| 43 | // If we are interrupted here, the the interruptor may start the calculation using | 43 | // If we are interrupted here, the interruptor may start the calculation using |
| 44 | // incorrectly signed inputs, but we'll restore the result ourselves. | 44 | // incorrectly signed inputs, but we'll restore the result ourselves. |
| 45 | // This sets DIRTY, so any interruptor will save the state. | 45 | // This sets DIRTY, so any interruptor will save the state. |
| 46 | sio.div().udivisor().write_value(divisor); | 46 | sio.div().udivisor().write_value(divisor); |
diff --git a/embassy-rp/src/intrinsics.rs b/embassy-rp/src/intrinsics.rs index 5b9c127ba..69d5d92de 100644 --- a/embassy-rp/src/intrinsics.rs +++ b/embassy-rp/src/intrinsics.rs | |||
| @@ -335,10 +335,9 @@ core::arch::global_asm!( | |||
| 335 | // result ourselves correctly. This sets DIRTY, so any interruptor will | 335 | // result ourselves correctly. This sets DIRTY, so any interruptor will |
| 336 | // save the state. | 336 | // save the state. |
| 337 | "str r3, [r2, #0x060]", // DIV_UDIVIDEND | 337 | "str r3, [r2, #0x060]", // DIV_UDIVIDEND |
| 338 | // If we are interrupted here, the the interruptor may start the | 338 | // If we are interrupted here, the interruptor may start the calculation |
| 339 | // calculation using incorrectly signed inputs, but we'll restore the | 339 | // using incorrectly signed inputs, but we'll restore the result ourselves. |
| 340 | // result ourselves. This sets DIRTY, so any interruptor will save the | 340 | // This sets DIRTY, so any interruptor will save the state. |
| 341 | // state. | ||
| 342 | "str r4, [r2, #0x064]", // DIV_UDIVISOR | 341 | "str r4, [r2, #0x064]", // DIV_UDIVISOR |
| 343 | // If we are interrupted here, the interruptor will have restored | 342 | // If we are interrupted here, the interruptor will have restored |
| 344 | // everything but the quotient may be wrongly signed. If the calculation | 343 | // everything but the quotient may be wrongly signed. If the calculation |
