forked from IQ.Lvbs/IQ.Pilot
IQ.Pilot Release Commit @ 0798119
This commit is contained in:
12
iqdbc_repo/iqdbc/safety/tests/libsafety/fake_stm.h
Normal file
12
iqdbc_repo/iqdbc/safety/tests/libsafety/fake_stm.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user