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;
|
|
|
|
|
|
|
|
int timeNowUs = 0;
|
|
|
|
|
|
|
|
efitimeus_t getTimeNowUs(void) {
|
|
|
|
return timeNowUs;
|
|
|
|
}
|
|
|
|
|
2021-10-14 12:17:30 -07:00
|
|
|
efitimesec_t getTimeNowSeconds(void) {
|
|
|
|
return getTimeNowUs() / 1000 / 1000;
|
|
|
|
}
|
|
|
|
|
2021-05-07 14:43:24 -07:00
|
|
|
efitick_t getTimeNowNt(void) {
|
|
|
|
return getTimeNowUs() * US_TO_NT_MULTIPLIER;
|
|
|
|
}
|
|
|
|
|
|
|
|
void initLogging(LoggingWithStorage *logging, const char *name) {
|
|
|
|
}
|