Skip to content

Commit 64fc003

Browse files
committed
SPI: fix SCI channel number
Former-commit-id: eac1d92
1 parent 09c8ff8 commit 64fc003

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/SPI/SPI.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ namespace arduino {
4444
* DEFINE
4545
**************************************************************************************/
4646

47-
#define SPI_MAX_SPI_CHANNELS 2
48-
#define SPI_MAX_SCI_CHANNELS 9
47+
#define SPI_MAX_SPI_CHANNELS (3) // SPI0 to SPI2
48+
#define SPI_MAX_SCI_CHANNELS (10) // SCI0 to SCI9
4949

5050
/**************************************************************************************
5151
* TYPEDEF

0 commit comments

Comments
 (0)