From d814a40c1d29bbed78ccdf85cdb31fa6ed099d75 Mon Sep 17 00:00:00 2001 From: Darian Leung Date: Tue, 4 Aug 2020 19:30:22 +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 */