aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/templates/hal_wspi_lld.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2019-01-26 08:32:07 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2019-01-26 08:32:07 +0000
commit57d31cabcfedbab69c74cde694f8fe1ec652385d (patch)
treefefaa32d234406c79aecfd43d69be09077797593 /os/hal/templates/hal_wspi_lld.h
parent2c757aacd0569a7cf824513ec34e5ed976291597 (diff)
downloadChibiOS-57d31cabcfedbab69c74cde694f8fe1ec652385d.tar.gz
ChibiOS-57d31cabcfedbab69c74cde694f8fe1ec652385d.tar.bz2
ChibiOS-57d31cabcfedbab69c74cde694f8fe1ec652385d.zip
MISRA-related fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12586 110e8d01-0319-4d1e-a829-52ad28d1bb01
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. */