Skip to content

Commit 63a145b

Browse files
authored
1 parent b681bc7 commit 63a145b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

documentation/english/functions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ int wiringPiSPIxSetupMode(const int number, const int channel, const int speed,
582582
```
583583
584584
``number``: SPI muber (typically 0, on Compute Module 0-7).
585-
``channel``: SPI channel (typically 0 or 1, on Compute Module 0-3.).
585+
``channel``: SPI channel (typically 0 or 1, on Compute Module 0-3).
586586
``speed``: SPI clock.
587587
``mode``: SPI mode (https://www.kernel.org/doc/Documentation/spi/spidev).
588588
``Return Value``: File handle to the SPI bus
@@ -615,7 +615,7 @@ int wiringPiSPIxDataRW (const int number, const int channel, unsigned char *data
615615
```
616616
617617
``number``: SPI muber (typically 0, on Compute Module 0-7).
618-
``channel``: SPI channel (typically 0 or 1, on Compute Module 0-3.).
618+
``channel``: SPI channel (typically 0 or 1, on Compute Module 0-3).
619619
``data``: Buffer
620620
``len``: Size of ``data`` buffer or data size.
621621
``Return Value``: Return Value of ``ioctl`` function (https://man7.org/linux/man-pages/man2/ioctl.2.html)
@@ -656,7 +656,7 @@ int wiringPiSPIxGetFd(const int number, int channel)
656656
```
657657
658658
``number``: SPI muber (typically 0, on Compute Module 0-7).
659-
``channel``: SPI channel (typically 0 or 1, on Compute Module 0-3.).
659+
``channel``: SPI channel (typically 0 or 1, on Compute Module 0-3).
660660
``Return Value``: File handle to the SPI bus
661661
> -1 ... Invalid or not opened
662662

0 commit comments

Comments
 (0)