mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 19:36:35 +08:00
ENC28J60: Missing semicolon causes error in some configurations. Noted by Maciej Wójcik
This commit is contained in:
+1
-1
Submodule Documentation updated: 8830f8f638...e3d982b2f1
+1
-1
Submodule configs updated: 57c7e67c4d...7b507f0c3c
@@ -381,7 +381,7 @@ static inline void enc_configspi(FAR struct spi_dev_s *spi)
|
|||||||
|
|
||||||
SPI_SETMODE(spi, CONFIG_ENC28J60_SPIMODE);
|
SPI_SETMODE(spi, CONFIG_ENC28J60_SPIMODE);
|
||||||
SPI_SETBITS(spi, 8);
|
SPI_SETBITS(spi, 8);
|
||||||
SPI_SETFREQUENCY(spi, CONFIG_ENC28J60_FREQUENCY)
|
SPI_SETFREQUENCY(spi, CONFIG_ENC28J60_FREQUENCY);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user