Skip to content

Commit 3fd6bf5

Browse files
committed
cpu/native: Fix typos in docs for SPI support (SPI_NUMOF)
1 parent d36c13c commit 3fd6bf5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpu/native/include/spidev_linux.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@
3535
* The first device can be used with SPI_HWCS(0) as CS parameter, the second one
3636
* with SPI_HWCS(1) as CS parameter.
3737
*
38-
* Multiple SPI busses can be added by increasing NUM_SPI in the Makefile:
38+
* Multiple SPI busses can be added by increasing SPI_NUMOF in the Makefile:
3939
* ```
40-
* CFLAGS += -DNUM_SPI=n
40+
* CFLAGS += -DSPI_NUMOF=n
4141
* ```
4242
*
4343
* The sames goes for the SPI_MAXCS parameter that defines the maximum number of

0 commit comments

Comments
 (0)