mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 01:18:29 -04:00
HAL_ChibiOS: fixed watchdog on H7
This commit is contained in:
parent
f727f1c62d
commit
58aca561fd
@ -25,7 +25,7 @@
|
|||||||
defines for working out if the reset was from the watchdog
|
defines for working out if the reset was from the watchdog
|
||||||
*/
|
*/
|
||||||
#if defined(STM32H7)
|
#if defined(STM32H7)
|
||||||
#define WDG_RESET_STATUS (*(__IO uint32_t *)(RCC_BASE + ))
|
#define WDG_RESET_STATUS (*(__IO uint32_t *)(RCC_BASE + 0xD0))
|
||||||
#define WDG_RESET_CLEAR (1U<<16)
|
#define WDG_RESET_CLEAR (1U<<16)
|
||||||
#define WDG_RESET_IS_IWDG (1U<<26)
|
#define WDG_RESET_IS_IWDG (1U<<26)
|
||||||
#elif defined(STM32F7) || defined(STM32F4)
|
#elif defined(STM32F7) || defined(STM32F4)
|
||||||
|
Loading…
Reference in New Issue
Block a user