This commit is contained in:
Scott Lahteine 2020-01-14 23:59:56 -06:00
parent 7eed008e8e
commit b419ca254b

View File

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