Scott Lahteine 4 years ago
parent
commit
b419ca254b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/HAL/HAL_STM32/HAL.cpp

+ 1
- 1
Marlin/src/HAL/HAL_STM32/HAL.cpp View File

@@ -112,7 +112,7 @@ uint8_t HAL_get_reset_source() {
112 112
       RESET != __HAL_RCC_GET_FLAG(RCC_FLAG_PINRST)   ? RST_EXTERNAL :
113 113
     #endif
114 114
     #ifdef RCC_FLAG_PORRST
115
-      RESET != __HAL_RCC_GET_FLAG(RCC_FLAG_PORRST))  ? RST_POWER_ON :
115
+      RESET != __HAL_RCC_GET_FLAG(RCC_FLAG_PORRST)   ? RST_POWER_ON :
116 116
     #endif
117 117
     0
118 118
   ;

Loading…
Cancel
Save