feat: basic H7 support (#5228)
Co-authored-by: Malte Langermann <malte@langermann.net> Co-authored-by: 3djc <3djc@gh.com> Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com> Co-authored-by: Richard Li <richard.li@ces.hk>
This commit is contained in:
co-authored by
Malte Langermann
3djc
raphaelcoeffic
Richard Li
parent
2110f1b938
commit
6f8a5313d5
@@ -22,6 +22,10 @@
|
||||
#include "hal/watchdog_driver.h"
|
||||
#include "stm32_hal_ll.h"
|
||||
|
||||
#ifdef IWDG1
|
||||
#define IWDG IWDG1
|
||||
#endif
|
||||
|
||||
void watchdogInit(unsigned int duration)
|
||||
{
|
||||
LL_IWDG_EnableWriteAccess(IWDG);
|
||||
|
||||
Reference in New Issue
Block a user