mirror of https://github.com/rusefi/rusefi-1.git
28 lines
425 B
C++
28 lines
425 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() {
|
|
return timeNowUs;
|
|
}
|
|
|
|
efitimesec_t getTimeNowSeconds() {
|
|
return getTimeNowUs() / 1000 / 1000;
|
|
}
|
|
|
|
efitick_t getTimeNowNt() {
|
|
return getTimeNowUs() * US_TO_NT_MULTIPLIER;
|
|
}
|
|
|
|
void initLogging(LoggingWithStorage *logging, const char *name) {
|
|
}
|