]> git.feebdaed.xyz Git - 0xmirror/WiringPi.git/commitdiff
#324
authormstroh <m.stroh76@gmail.com>
Sat, 1 Mar 2025 10:50:16 +0000 (11:50 +0100)
committerGitHub <noreply@github.com>
Sat, 1 Mar 2025 10:50:16 +0000 (11:50 +0100)
documentation/english/functions.md

index 16e7d09294547c0b6fc7dcc35069812278c42881..a277e8042c6a3e55f1eeb07db6994ef20dad8c5c 100644 (file)
@@ -582,7 +582,7 @@ int wiringPiSPIxSetupMode(const int number, const int channel, const int speed,
 ```
 
 ``number``: SPI muber (typically 0, on Compute Module 0-7).  
-``channel``: SPI channel (typically 0 or 1, on Compute Module 0-3.).  
+``channel``: SPI channel (typically 0 or 1, on Compute Module 0-3).  
 ``speed``: SPI clock.  
 ``mode``: SPI mode (https://www.kernel.org/doc/Documentation/spi/spidev).  
 ``Return Value``:  File handle to the SPI bus
@@ -615,7 +615,7 @@ int wiringPiSPIxDataRW (const int number, const int channel, unsigned char *data
 ```
 
 ``number``: SPI muber (typically 0, on Compute Module 0-7).  
-``channel``: SPI channel (typically 0 or 1, on Compute Module 0-3.).  
+``channel``: SPI channel (typically 0 or 1, on Compute Module 0-3).  
 ``data``: Buffer  
 ``len``: Size of ``data`` buffer or data size.  
 ``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)
 ```
 
 ``number``: SPI muber (typically 0, on Compute Module 0-7).  
-``channel``: SPI channel (typically 0 or 1, on Compute Module 0-3.).  
+``channel``: SPI channel (typically 0 or 1, on Compute Module 0-3).  
 ``Return Value``:  File handle to the SPI bus 
 > -1 ... Invalid or not opened