Skip to content

Commit f350e4f

Browse files
committed
wiringPiSPISetupMode fix
1 parent d59f954 commit f350e4f

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

documentation/deutsch/functions.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -802,8 +802,10 @@ Die alten Funktionen bleiben erhalten beziehen sich allerdings immer auf den SPI
802802

803803
>>>
804804
```C
805-
int wiringPiSPISetup (int channel, int speed)
806-
int wiringPiSPISetup (int channel, int speed, int mode)
805+
int wiringPiSPISetup(int channel, int speed)
806+
807+
int wiringPiSPISetupMode(int channel, int speed, int mode)
808+
807809
int wiringPiSPIxSetupMode(const int number, const int channel, const int speed, const int mode)
808810
```
809811

documentation/english/functions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -791,9 +791,9 @@ Functions that start with ``wiringPiSPIx`` are new since version 3, allowing th
791791
Opens the specified SPI bus. The Raspberry Pi has 2 channels, 0 and 1. The speed parameter is an integer in the range of 500,000 through 32,000,000 and represents the SPI clock speed in Hz.
792792

793793
```C
794-
int wiringPiSPISetup (int channel, int speed);
794+
int wiringPiSPISetup(int channel, int speed);
795795

796-
int wiringPiSPISetupMode (int channel, int speed, int mode);
796+
int wiringPiSPISetupMode(int channel, int speed, int mode);
797797

798798
int wiringPiSPIxSetupMode(const int number, const int channel, const int speed, const int mode);
799799
```

0 commit comments

Comments
 (0)