help compiler

This commit is contained in:
andreika-git 2023-12-13 14:44:15 +02:00 committed by rusefillc
parent 026c9b34d9
commit f6e30ba38c
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ static Reset_Cause_t readMCUResetCause() {
}
// we need to read the reset cause on the early stage, before we setup the rest of MCU hardware
static Reset_Cause_t resetCause = readMCUResetCause();
static const volatile Reset_Cause_t resetCause = readMCUResetCause();
Reset_Cause_t getMCUResetCause() {
return resetCause;