diff --git a/components/soc/esp32/register/soc/emac_ext_struct.h b/components/soc/esp32/register/soc/emac_ext_struct.h index bf256469a3..d9494bd4e5 100644 --- a/components/soc/esp32/register/soc/emac_ext_struct.h +++ b/components/soc/esp32/register/soc/emac_ext_struct.h @@ -11,7 +11,7 @@ extern "C" { #include -typedef struct emac_ext_dev_s { +typedef volatile struct emac_ext_dev_s { volatile union { struct { uint32_t div_num : 4;