aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/templates/hal_wspi_lld.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/templates/hal_wspi_lld.h')
-rw-r--r--os/hal/templates/hal_wspi_lld.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/os/hal/templates/hal_wspi_lld.h b/os/hal/templates/hal_wspi_lld.h
index 4c006f296..6df16d0d1 100644
--- a/os/hal/templates/hal_wspi_lld.h
+++ b/os/hal/templates/hal_wspi_lld.h
@@ -70,14 +70,18 @@
/*===========================================================================*/
/**
- * @brief Low level fields of the WSPI configuration structure.
+ * @brief Low level fields of the WSPI driver structure.
*/
-#define wspi_lld_config_fields
+#define wspi_lld_driver_fields \
+ /* Dummy field, it is not needed.*/ \
+ uint32_t dummy
/**
- * @brief Low level fields of the WSPI driver structure.
+ * @brief Low level fields of the WSPI configuration structure.
*/
-#define wspi_lld_driver_fields
+#define wspi_lld_config_fields \
+ /* Dummy configuration, it is not needed.*/ \
+ uint32_t dummy
/*===========================================================================*/
/* External declarations. */