diff options
Diffstat (limited to 'radiator-plc/stm32/app/watchdog.c')
-rw-r--r-- | radiator-plc/stm32/app/watchdog.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/radiator-plc/stm32/app/watchdog.c b/radiator-plc/stm32/app/watchdog.c new file mode 100644 index 0000000..8516119 --- /dev/null +++ b/radiator-plc/stm32/app/watchdog.c @@ -0,0 +1,16 @@ +#include "project.h" + + + +void +watchdog_init (void) +{ + //iwdg_set_period_ms (10000); + //iwdg_start(); +} + +void +sausages() +{ + iwdg_reset(); +} |