From 419bcb05d557d5e3145352a52c4860cf3d00fab5 Mon Sep 17 00:00:00 2001 From: Alin Jerpelea Date: Thu, 28 Jan 2021 17:26:30 +0100 Subject: [PATCH] include: nuttx: spi: nxstyle error fix Nxstyle error fix to silence the CI. Signed-off-by: Alin Jerpelea --- include/nuttx/spi/spi_bitbang.h | 5 +++-- include/nuttx/spi/spi_transfer.h | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/include/nuttx/spi/spi_bitbang.h b/include/nuttx/spi/spi_bitbang.h index 25392b01c3..af40db47ba 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 071f5c1134..1dd27d7643 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 ****************************************************************************/ /****************************************************************************