misspell.csv: add new misspellings; also check in result of 'make spellfix'.

This commit is contained in:
Dan Kegel
2024-08-14 13:52:51 -07:00
committed by Ron Evans
parent 194396d715
commit 5368dd22c5
12 changed files with 27 additions and 15 deletions
+2 -2
View File
@@ -49,7 +49,7 @@ const (
var (
errUnsupportedSPIController = errors.New("SPI controller not supported. Use SPI0 or SPI1.")
errI2CTxAbort = errors.New("I2C transmition has been aborted.")
errI2CTxAbort = errors.New("I2C transmission has been aborted.")
)
func (p Pin) setFPIOAIOPull(pull fpioaPullMode) {
@@ -619,7 +619,7 @@ func (i2c *I2C) Tx(addr uint16, w, r []byte) error {
dataLen -= fifoLen
}
// Wait for transmition to complete.
// Wait for transmission to complete.
for i2c.Bus.STATUS.HasBits(kendryte.I2C_STATUS_ACTIVITY) || !i2c.Bus.STATUS.HasBits(kendryte.I2C_STATUS_TFE) {
}
+1 -1
View File
@@ -155,7 +155,7 @@ func nilMapPanic() {
runtimePanicAt(returnAddress(0), "assignment to entry in nil map")
}
// Panic when trying to acces an array or slice out of bounds.
// Panic when trying to access an array or slice out of bounds.
func lookupPanic() {
runtimePanicAt(returnAddress(0), "index out of range")
}
+1 -1
View File
@@ -104,7 +104,7 @@ func exit(code int) {
func abort() {
// Disable interrupts and go to sleep.
// This can never be awoken except for reset, and is recogized as termination by simavr.
// This can never be awoken except for reset, and is recognized as termination by simavr.
avr.Asm("cli")
for {
avr.Asm("sleep")
+1 -1
View File
@@ -14,7 +14,7 @@ const (
// Note from Teensyduino (cores/teensy4/startup.c):
//
// | ARM SysTick is used for most Ardiuno timing functions, delay(), millis(),
// | ARM SysTick is used for most Arduino timing functions, delay(), millis(),
// | micros(). SysTick can run from either the ARM core clock, or from an
// | "external" clock. NXP documents it as "24 MHz XTALOSC can be the external
// | clock source of SYSTICK" (RT1052 ref manual, rev 1, page 411). However,
+2 -2
View File
@@ -172,9 +172,9 @@ func setupEnv() {
func setupHeap() {
if heapStart != 0 {
if debugInit {
print("Heap already overrided by hblauncher")
print("Heap already overridden by hblauncher")
}
// Already overrided
// Already overridden
return
}
+1 -1
View File
@@ -129,7 +129,7 @@ func nanosecondsToTicks(ns int64) timeUnit {
}
func sleepTicks(d timeUnit) {
// Calcluate milliseconds from ticks (which have a resolution of 100ns),
// Calculate milliseconds from ticks (which have a resolution of 100ns),
// rounding up.
milliseconds := int64(d+9_999) / 10_000
for milliseconds != 0 {
+1 -1
View File
@@ -67,7 +67,7 @@ func deadlock() {
// Goexit terminates the currently running goroutine. No other goroutines are affected.
//
// Unlike the main Go implementation, no deffered calls will be run.
// Unlike the main Go implementation, no deferred calls will be run.
//
//go:inline
func Goexit() {
+1 -1
View File
@@ -97,7 +97,7 @@ func read(fd int32, buf *byte, count uint) int {
type wasiFile struct {
d types.Descriptor
oflag int32 // orignal open flags: O_RDONLY, O_WRONLY, O_RDWR
oflag int32 // original open flags: O_RDONLY, O_WRONLY, O_RDWR
offset int64 // current fd offset; updated with each read/write
refs int
}