2021-12-03 21:46:34 -08:00
|
|
|
/**
|
|
|
|
* @file global_mocks.cpp
|
|
|
|
*/
|
2021-05-07 14:43:24 -07:00
|
|
|
|
2021-08-03 19:05:01 -07:00
|
|
|
#include "pch.h"
|
2021-05-07 14:43:24 -07:00
|
|
|
|
|
|
|
#include "trigger_central.h"
|
|
|
|
#include "map_resize.h"
|
|
|
|
|
|
|
|
bool verboseMode = false;
|
|
|
|
|
2024-04-27 01:59:38 -07:00
|
|
|
static int timeNowUs = 0;
|
2021-05-07 14:43:24 -07:00
|
|
|
|
2022-01-11 19:40:52 -08:00
|
|
|
efitick_t getTimeNowNt() {
|
2024-04-25 22:01:46 -07:00
|
|
|
return (efitimeus_t)timeNowUs * US_TO_NT_MULTIPLIER;
|
2021-05-07 14:43:24 -07:00
|
|
|
}
|
|
|
|
|
2024-04-27 01:59:38 -07:00
|
|
|
void setTimeNowUs(int us) {
|
|
|
|
timeNowUs = us;
|
|
|
|
}
|
|
|
|
|
|
|
|
void advanceTimeUs(int us) {
|
|
|
|
timeNowUs += us;
|
|
|
|
}
|
|
|
|
|
2021-05-07 14:43:24 -07:00
|
|
|
void initLogging(LoggingWithStorage *logging, const char *name) {
|
|
|
|
}
|
2022-09-24 04:35:19 -07:00
|
|
|
|
|
|
|
void setBoardConfigOverrides() {
|
|
|
|
}
|
|
|
|
|