Files
sunnypilot-byd/opendbc_repo/opendbc/safety/tests/libsafety/fake_stm.h
T
github-actions[bot] de77c89cf6 sunnypilot v2026.002.000
version: sunnypilot v2026.002.000 (staging)
date: 2026-07-21T07:44:02
master commit: 2c334ede443d7391d27575af8c854a095ba702a8
2026-07-21 07:44:02 +00:00

13 lines
265 B
C

#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#define ALLOW_DEBUG
// TODO: time should just be passed into the hooks we expose
uint32_t timer_cnt = 0;
uint32_t microsecond_timer_get(void);
uint32_t microsecond_timer_get(void) {
return timer_cnt;
}