wiringPiSPISetupMode fix

This commit is contained in:
mstroh76
2025-06-06 19:38:14 +02:00
parent d59f9547f4
commit f350e4f857
2 changed files with 6 additions and 4 deletions

View File

@@ -791,9 +791,9 @@ Functions that start with ``wiringPiSPIx`` are new since version 3, allowing th
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.
```C
int wiringPiSPISetup (int channel, int speed);
int wiringPiSPISetup(int channel, int speed);
int wiringPiSPISetupMode (int channel, int speed, int mode);
int wiringPiSPISetupMode(int channel, int speed, int mode);
int wiringPiSPIxSetupMode(const int number, const int channel, const int speed, const int mode);
```