mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-29 10:53:49 +08:00
eefc084302
version: sunnypilot v2025.003.000 (dev) date: 2025-12-18T05:48:43 master commit: 16c052af0835f049a67b80251d8cc1114fc08bb4
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);
|