Make stm32 eth declared as volatile

This commit is contained in:
Sergey Lyubka committed 2022-06-21 12:11:59 +01:00
1 parent 4246e6c768
commit c446fe0c6d
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@
#if MG_ENABLE_MIP && defined(__arm__)
struct stm32_eth {
uint32_t MACCR, MACFFR, MACHTHR, MACHTLR, MACMIIAR, MACMIIDR, MACFCR,
volatile uint32_t MACCR, MACFFR, MACHTHR, MACHTLR, MACMIIAR, MACMIIDR, MACFCR,
MACVLANTR, RESERVED0[2], MACRWUFFR, MACPMTCSR, RESERVED1, MACDBGR, MACSR,
MACIMR, MACA0HR, MACA0LR, MACA1HR, MACA1LR, MACA2HR, MACA2LR, MACA3HR,
MACA3LR, RESERVED2[40], MMCCR, MMCRIR, MMCTIR, MMCRIMR, MMCTIMR,