diff --git a/include/nuttx/spi/spi_bitbang.h b/include/nuttx/spi/spi_bitbang.h index 25392b01c39..af40db47ba0 100644 --- a/include/nuttx/spi/spi_bitbang.h +++ b/include/nuttx/spi/spi_bitbang.h @@ -48,7 +48,7 @@ #ifdef CONFIG_SPI_BITBANG /**************************************************************************** - * Private Types + * Public Types ****************************************************************************/ #ifndef __ASSEMBLY__ @@ -139,7 +139,8 @@ extern "C" * ****************************************************************************/ -FAR struct spi_dev_s *spi_create_bitbang(FAR const struct spi_bitbang_ops_s *low); +FAR struct spi_dev_s *spi_create_bitbang( + FAR const struct spi_bitbang_ops_s *low); #undef EXTERN #if defined(__cplusplus) diff --git a/include/nuttx/spi/spi_transfer.h b/include/nuttx/spi/spi_transfer.h index 071f5c11345..1dd27d76439 100644 --- a/include/nuttx/spi/spi_transfer.h +++ b/include/nuttx/spi/spi_transfer.h @@ -52,6 +52,7 @@ #ifdef CONFIG_SPI_EXCHANGE /* SPI Character Driver IOCTL Commands **************************************/ + /* The SPI driver is intended to support application testing of the SPI bus. * The SPI driver simply provides a user-accessible wrapper around the * OS internal spi_transfer() function. The following IOCTL commands to @@ -126,7 +127,7 @@ struct spi_sequence_s }; /**************************************************************************** - * Public Functions + * Public Functions Definitions ****************************************************************************/ /****************************************************************************