From 1160da7fdf4327e628e6454828e438bffdf3c9bf Mon Sep 17 00:00:00 2001 From: Darian Leung Date: Wed, 2 Dec 2020 21:21:41 +0800 Subject: [PATCH] TWAI: Fix ESP32-S2 register field name --- components/soc/soc/esp32s2/include/soc/twai_struct.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/soc/soc/esp32s2/include/soc/twai_struct.h b/components/soc/soc/esp32s2/include/soc/twai_struct.h index 77debe0c43..a9cdcbf039 100644 --- a/components/soc/soc/esp32s2/include/soc/twai_struct.h +++ b/components/soc/soc/esp32s2/include/soc/twai_struct.h @@ -61,7 +61,7 @@ typedef volatile struct twai_dev_s { uint32_t es: 1; /* SR.6 Error Status */ uint32_t bs: 1; /* SR.7 Bus Status */ uint32_t ms: 1; /* SR.8 Miss Status */ - uint32_t reserved24: 23; /* Internal Reserved */ + uint32_t reserved23: 23; /* Internal Reserved */ }; uint32_t val; } status_reg; /* Address 2 */