make spellfix (+ manual tweak)

This commit is contained in:
Damian Gryski
2026-04-16 13:54:17 -07:00
committed by Ayke
parent aed8116b22
commit 6426bf79b4
6 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -551,7 +551,7 @@ func handleSoftDeviceEvents() {
return // TODO: nrf51 etc
}
if result != 0 {
// Some error occured. The only possible error is
// Some error occurred. The only possible error is
// NRF_ERROR_NOT_FOUND, which means there are no more events.
return
}
+1 -1
View File
@@ -309,7 +309,7 @@ func (spi *SPI) tx(tx []byte) error {
// Make sure the read buffer stays alive until this point (in the unlikely
// case the tx slice wasn't read after this function returns and a GC cycle
// happened inbetween).
// happened in the meantime).
keepAliveNoEscape(unsafe.Pointer(unsafe.SliceData(tx)))
// We didn't read any result values, which means the RX FIFO has likely