mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-06 22:22:11 +08:00
33d5cfc393
date: 2025-12-18T23:23:16 master commit: 3cdee7b54718ee14bd85befd6c5bad3d699c5479
11 lines
239 B
C
11 lines
239 B
C
#pragma once
|
|
|
|
typedef struct simple_watchdog_state_t {
|
|
uint32_t fault;
|
|
uint32_t last_ts;
|
|
uint32_t threshold;
|
|
} simple_watchdog_state_t;
|
|
|
|
void simple_watchdog_kick(void);
|
|
void simple_watchdog_init(uint32_t fault, uint32_t threshold);
|