fome-fw/unit_tests/global_mocks.cpp

31 lines
413 B
C++
Raw Normal View History

2021-12-03 21:46:34 -08:00
/**
* @file global_mocks.cpp
*/
2021-05-07 14:43:24 -07:00
#include "pch.h"
2021-05-07 14:43:24 -07:00
#include "trigger_central.h"
bool verboseMode = false;
static efitick_t timeNowNt;
2021-05-07 14:43:24 -07:00
efitick_t getTimeNowNt() {
return timeNowNt;
2021-05-07 14:43:24 -07:00
}
void setTimeNowUs(int us) {
timeNowNt = US2NT(us).count();
}
void advanceTimeUs(int us) {
timeNowNt += US2NT(us);
}
2021-05-07 14:43:24 -07:00
void initLogging(LoggingWithStorage *logging, const char *name) {
}
void setBoardConfigOverrides() {
}