aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/templates/hal_spi_lld.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/templates/hal_spi_lld.h')
-rw-r--r--os/hal/templates/hal_spi_lld.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/os/hal/templates/hal_spi_lld.h b/os/hal/templates/hal_spi_lld.h
index ad3939c9b..b3f180a9d 100644
--- a/os/hal/templates/hal_spi_lld.h
+++ b/os/hal/templates/hal_spi_lld.h
@@ -69,12 +69,16 @@
/**
* @brief Low level fields of the SPI driver structure.
*/
-#define spi_lld_driver_fields
+#define spi_lld_driver_fields \
+ /* Dummy field, it is not needed.*/ \
+ uint32_t dummy
/**
* @brief Low level fields of the SPI configuration structure.
*/
-#define spi_lld_config_fields
+#define spi_lld_config_fields \
+ /* Dummy configuration, it is not needed.*/ \
+ uint32_t dummy
/*===========================================================================*/
/* External declarations. */