summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Schodet2019-10-09 22:55:49 +0200
committerNicolas Schodet2019-10-09 22:55:49 +0200
commitc3f1b388fe087aec0ce5698504d505f43aa9126c (patch)
tree7afd76d5a6ac751e4527cc58a33fccab93661775
parent1b9674a239ca7ff155b4b870af689eb6d3160a09 (diff)
Fix bad DSI_LCOLCR_COLC definitionHEADmaster
-rw-r--r--Device/ST/STM32F4xx/Include/stm32f469xx.h6
-rw-r--r--Device/ST/STM32F4xx/Include/stm32f479xx.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/Device/ST/STM32F4xx/Include/stm32f469xx.h b/Device/ST/STM32F4xx/Include/stm32f469xx.h
index eeab9a7..a624de3 100644
--- a/Device/ST/STM32F4xx/Include/stm32f469xx.h
+++ b/Device/ST/STM32F4xx/Include/stm32f469xx.h
@@ -3695,9 +3695,9 @@ typedef struct
/******************* Bit definition for DSI_LCOLCR register *************/
#define DSI_LCOLCR_COLC 0x0000000FU /*!< Color Coding */
#define DSI_LCOLCR_COLC0 0x00000001U
-#define DSI_LCOLCR_COLC1 0x00000020U
-#define DSI_LCOLCR_COLC2 0x00000040U
-#define DSI_LCOLCR_COLC3 0x00000080U
+#define DSI_LCOLCR_COLC1 0x00000002U
+#define DSI_LCOLCR_COLC2 0x00000004U
+#define DSI_LCOLCR_COLC3 0x00000008U
#define DSI_LCOLCR_LPE 0x00000100U /*!< Loosly Packet Enable */
diff --git a/Device/ST/STM32F4xx/Include/stm32f479xx.h b/Device/ST/STM32F4xx/Include/stm32f479xx.h
index c4833ec..dc2809d 100644
--- a/Device/ST/STM32F4xx/Include/stm32f479xx.h
+++ b/Device/ST/STM32F4xx/Include/stm32f479xx.h
@@ -3825,9 +3825,9 @@ typedef struct
/******************* Bit definition for DSI_LCOLCR register *************/
#define DSI_LCOLCR_COLC 0x0000000FU /*!< Color Coding */
#define DSI_LCOLCR_COLC0 0x00000001U
-#define DSI_LCOLCR_COLC1 0x00000020U
-#define DSI_LCOLCR_COLC2 0x00000040U
-#define DSI_LCOLCR_COLC3 0x00000080U
+#define DSI_LCOLCR_COLC1 0x00000002U
+#define DSI_LCOLCR_COLC2 0x00000004U
+#define DSI_LCOLCR_COLC3 0x00000008U
#define DSI_LCOLCR_LPE 0x00000100U /*!< Loosly Packet Enable */