aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/src/spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/src/spi.c')
-rw-r--r--os/hal/src/spi.c18
1 files changed, 17 insertions, 1 deletions
diff --git a/os/hal/src/spi.c b/os/hal/src/spi.c
index 08113a000..36bde9a3a 100644
--- a/os/hal/src/spi.c
+++ b/os/hal/src/spi.c
@@ -29,6 +29,22 @@
#if CH_HAL_USE_SPI || defined(__DOXYGEN__)
+/*===========================================================================*/
+/* Driver exported variables. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Driver local variables. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Driver local functions. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Driver exported functions. */
+/*===========================================================================*/
+
/**
* @brief SPI Driver initialization.
*/
@@ -255,7 +271,7 @@ void spiReleaseBus(SPIDriver *spip) {
chSemSignal(&spip->spd_semaphore);
#endif
}
-#endif /*SPI_USE_MUTUAL_EXCLUSION */
+#endif /* SPI_USE_MUTUAL_EXCLUSION */
#endif /* CH_HAL_USE_SPI */