aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/machine/machine_atsamd51.go
diff options
context:
space:
mode:
authordkegel-fastly <[email protected]>2024-04-19 06:57:01 -0700
committerGitHub <[email protected]>2024-04-19 06:57:01 -0700
commit39029cc37604c175c8b512478ba60ab617e79960 (patch)
tree16b9504cf2c4a9cd2f699542cf33e008f0b83238 /src/machine/machine_atsamd51.go
parent712275572554d0ba8ee85e722fef8d6c91d6531a (diff)
downloadtinygo-39029cc37604c175c8b512478ba60ab617e79960.tar.gz
tinygo-39029cc37604c175c8b512478ba60ab617e79960.zip
Run Nick G's spellchecker github.com/client9/misspell, carefuly fix what it found (#4235)
Diffstat (limited to 'src/machine/machine_atsamd51.go')
-rw-r--r--src/machine/machine_atsamd51.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/machine/machine_atsamd51.go b/src/machine/machine_atsamd51.go
index 0d786dba7..d77041741 100644
--- a/src/machine/machine_atsamd51.go
+++ b/src/machine/machine_atsamd51.go
@@ -1587,7 +1587,7 @@ func (spi SPI) Transfer(w byte) (byte, error) {
return byte(spi.Bus.DATA.Get()), nil
}
-// Tx handles read/write operation for SPI interface. Since SPI is a syncronous write/read
+// Tx handles read/write operation for SPI interface. Since SPI is a synchronous write/read
// interface, there must always be the same number of bytes written as bytes read.
// The Tx method knows about this, and offers a few different ways of calling it.
//
@@ -1720,7 +1720,7 @@ func (tcc *TCC) Configure(config PWMConfig) error {
for tcc.timer().SYNCBUSY.Get() != 0 {
}
- // Return any error that might have occured in the tcc.setPeriod call.
+ // Return any error that might have occurred in the tcc.setPeriod call.
return err
}