rusefi-1/unit_tests/global_mocks.cpp

25 lines
403 B
C++
Raw Normal View History

2021-05-07 14:43:24 -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;
}
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) {
}