From 0a90b8dcd18ab25f9eeb9bfd883da9e78048f55b 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/include/soc/emac_ext_struct.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/soc/esp32/include/soc/emac_ext_struct.h b/components/soc/esp32/include/soc/emac_ext_struct.h index bf256469a3..d9494bd4e5 100644 --- a/components/soc/esp32/include/soc/emac_ext_struct.h +++ b/components/soc/esp32/include/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;