This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new a75b3bad15 Fixed typo in CRC define
a75b3bad15 is described below
commit a75b3bad15e8a4dda36e87998e48e2a86565e512
Author: daniellizewski <[email protected]>
AuthorDate: Mon Sep 11 08:37:07 2023 -0400
Fixed typo in CRC define
---
arch/arm/src/s32k1xx/hardware/s32k1xx_crc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/src/s32k1xx/hardware/s32k1xx_crc.h
b/arch/arm/src/s32k1xx/hardware/s32k1xx_crc.h
index b61c0b424f..8924523989 100644
--- a/arch/arm/src/s32k1xx/hardware/s32k1xx_crc.h
+++ b/arch/arm/src/s32k1xx/hardware/s32k1xx_crc.h
@@ -74,7 +74,7 @@
#define CRC_CTRL_TCRC (1 << 24) /* Bit 24: Width of CRC protocol
*/
# define CRC_CTRL_TCRC_16BIT (0) /* 16-bit CRC protocol */
-# define CRC_CTRL_TCRC_16BIT (1 << 24) /* 32-bit CRC protocol */
+# define CRC_CTRL_TCRC_32BIT (1 << 24) /* 32-bit CRC protocol */
#define CRC_CTRL_WAS (1 << 25) /* Bit 25: Write CRC Data
Register As Seed */
#define CRC_CTRL_FXOR (1 << 26) /* Bit 26: Complement Read Of
CRC Data Register */
#define CRC_CTRL_TOTR_SHIFT (28) /* Bits 28-29: Type Of
Transpose For Read */