From 82011d22c81bb70e7d381fb3f21df213984efe55 Mon Sep 17 00:00:00 2001 From: 0xFEEDC0DE64 Date: Thu, 27 Apr 2023 12:47:12 +0200 Subject: [PATCH] Fix compilation under C++ again --- components/soc/esp32/register/soc/emac_ext_struct.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;