aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/spi.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/include/spi.h')
-rw-r--r--os/hal/include/spi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/include/spi.h b/os/hal/include/spi.h
index 6f17f69c2..5d1355106 100644
--- a/os/hal/include/spi.h
+++ b/os/hal/include/spi.h
@@ -27,7 +27,7 @@
#ifndef _SPI_H_
#define _SPI_H_
-#if CH_HAL_USE_SPI
+#if CH_HAL_USE_SPI || defined(__DOXYGEN__)
/**
* @brief Enables the mutual exclusion APIs on the SPI bus.