Fix typo
This commit is contained in:
parent
7eed008e8e
commit
b419ca254b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
;
|
;
|
||||||
|
|
Reference in a new issue