diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-07-26 09:59:16 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-07-26 09:59:16 +0000 |
commit | 4f6a6abcfcc34760fd84fe6e47375ec2d45f0946 (patch) | |
tree | 9d58d3bb1d3783020c16b1842cb7f659d96a3a9d /os/hal/ports/STM32/LLD/SDIOv1/hal_sdc_lld.h | |
parent | 1c271826cc3e7d7c8478ae81c595696fab469637 (diff) | |
download | ChibiOS-4f6a6abcfcc34760fd84fe6e47375ec2d45f0946.tar.gz ChibiOS-4f6a6abcfcc34760fd84fe6e47375ec2d45f0946.tar.bz2 ChibiOS-4f6a6abcfcc34760fd84fe6e47375ec2d45f0946.zip |
Fixed bug #767.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9723 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/LLD/SDIOv1/hal_sdc_lld.h')
-rw-r--r-- | os/hal/ports/STM32/LLD/SDIOv1/hal_sdc_lld.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/LLD/SDIOv1/hal_sdc_lld.h b/os/hal/ports/STM32/LLD/SDIOv1/hal_sdc_lld.h index cb35827b1..2f7d3cfb2 100644 --- a/os/hal/ports/STM32/LLD/SDIOv1/hal_sdc_lld.h +++ b/os/hal/ports/STM32/LLD/SDIOv1/hal_sdc_lld.h @@ -31,6 +31,26 @@ /* Driver constants. */
/*===========================================================================*/
+/*
+ * The following definitions are missing from some implementations, fixing
+ * as zeroed masks.
+ */
+#if !defined(SDIO_STA_STBITERR)
+#define SDIO_STA_STBITERR 0
+#endif
+
+#if !defined(SDIO_ICR_STBITERRC)
+#define SDIO_ICR_STBITERRC 0
+#endif
+
+#if !defined(SDIO_ICR_CEATAENDC)
+#define SDIO_ICR_CEATAENDC 0
+#endif
+
+#if !defined(SDIO_MASK_STBITERRIE)
+#define SDIO_MASK_STBITERRIE 0
+#endif
+
/**
* @brief Value to clear all interrupts flag at once.
*/
|