From c82ff057f578a08538b644f87ed3b3c7b95f0046 Mon Sep 17 00:00:00 2001 From: Dan Kegel Date: Wed, 14 Aug 2024 14:00:07 -0700 Subject: [PATCH] Fix 'numer of', since 'NUMER' by itself is valid abbrev for numerator. Oddly, misspell was not able to detect this one, even though in theory it allows detecting multiword typos, so the fix was done by hand. --- misspell.csv | 1 + src/runtime/runtime_nrf.go | 2 +- src/runtime/runtime_nrf52840.go | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/misspell.csv b/misspell.csv index 82d4be429..965191c30 100644 --- a/misspell.csv +++ b/misspell.csv @@ -22,6 +22,7 @@ implmented,implemented interrut,interrupt interupt,interrupt measuing,measuring +numer of,number of orignal,original overrided,overridden poiners,pointers diff --git a/src/runtime/runtime_nrf.go b/src/runtime/runtime_nrf.go index 2f58c3518..729c6bb20 100644 --- a/src/runtime/runtime_nrf.go +++ b/src/runtime/runtime_nrf.go @@ -103,7 +103,7 @@ func nanosecondsToTicks(ns int64) timeUnit { return timeUnit(ns * 64 / 1953125) } -// Monotonically increasing numer of ticks since start. +// Monotonically increasing number of ticks since start. func ticks() timeUnit { // For some ways of capturing the time atomically, see this thread: // https://www.eevblog.com/forum/microcontrollers/correct-timing-by-timer-overflow-count/msg749617/#msg749617 diff --git a/src/runtime/runtime_nrf52840.go b/src/runtime/runtime_nrf52840.go index 47f9a8db1..41c36fe5f 100644 --- a/src/runtime/runtime_nrf52840.go +++ b/src/runtime/runtime_nrf52840.go @@ -106,7 +106,7 @@ func nanosecondsToTicks(ns int64) timeUnit { return timeUnit(ns * 64 / 1953125) } -// Monotonically increasing numer of ticks since start. +// Monotonically increasing number of ticks since start. func ticks() timeUnit { // For some ways of capturing the time atomically, see this thread: // https://www.eevblog.com/forum/microcontrollers/correct-timing-by-timer-overflow-count/msg749617/#msg749617