mirror of https://github.com/rusefi/rusefi-1.git
28 lines
437 B
C++
28 lines
437 B
C++
/**
|
|
* @file global_mocks.cpp
|
|
*/
|
|
|
|
#include "pch.h"
|
|
|
|
#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;
|
|
}
|
|
|
|
efitick_t getTimeNowNt(void) {
|
|
return getTimeNowUs() * US_TO_NT_MULTIPLIER;
|
|
}
|
|
|
|
void initLogging(LoggingWithStorage *logging, const char *name) {
|
|
}
|