diff options
Diffstat (limited to 'shared/runtime')
| -rw-r--r-- | shared/runtime/pyexec.c | 2 | ||||
| -rw-r--r-- | shared/runtime/softtimer.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/shared/runtime/pyexec.c b/shared/runtime/pyexec.c index ec0ff87f1..e32150e5e 100644 --- a/shared/runtime/pyexec.c +++ b/shared/runtime/pyexec.c @@ -592,7 +592,7 @@ friendly_repl_reset: // If the user gets to here and interrupts are disabled then // they'll never see the prompt, traceback etc. The USB REPL needs // interrupts to be enabled or no transfers occur. So we try to - // do the user a favor and reenable interrupts. + // do the user a favor and re-enable interrupts. if (query_irq() == IRQ_STATE_DISABLED) { enable_irq(IRQ_STATE_ENABLED); mp_hal_stdout_tx_str("MPY: enabling IRQs\r\n"); diff --git a/shared/runtime/softtimer.c b/shared/runtime/softtimer.c index 68173ac33..267610b26 100644 --- a/shared/runtime/softtimer.c +++ b/shared/runtime/softtimer.c @@ -41,7 +41,7 @@ STATIC soft_timer_entry_t *soft_timer_heap; static inline int32_t ticks_diff(uint32_t t1, uint32_t t0) { // t1 is after t0 (i.e. positive result) if there exists a uint32_t X <= INT_MAX - // such that t0 + X = t1. Otherwise t1 is interepreted to be earlier than + // such that t0 + X = t1. Otherwise t1 is interpreted to be earlier than // t0 (negative result). return t1 - t0; } |
