2021-12-03 21:46:34 -08:00
|
|
|
/**
|
|
|
|
* @file global_mocks.cpp
|
|
|
|
*/
|
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"
|
|
|
|
|
|
|
|
bool verboseMode = false;
|
|
|
|
|
2024-04-27 02:04:25 -07:00
|
|
|
static efitick_t timeNowNt;
|
2021-05-07 14:43:24 -07:00
|
|
|
|
2022-01-11 19:40:52 -08:00
|
|
|
efitick_t getTimeNowNt() {
|
2024-04-27 02:04:25 -07:00
|
|
|
return timeNowNt;
|
2021-05-07 14:43:24 -07:00
|
|
|
}
|
|
|
|
|
2024-04-27 01:59:38 -07:00
|
|
|
void setTimeNowUs(int us) {
|
2024-04-27 02:04:25 -07:00
|
|
|
timeNowNt = US2NT(us).count();
|
2024-04-27 01:59:38 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
void advanceTimeUs(int us) {
|
2024-04-27 02:04:25 -07:00
|
|
|
timeNowNt += US2NT(us);
|
2024-04-27 01:59:38 -07:00
|
|
|
}
|
|
|
|
|
2021-05-07 14:43:24 -07:00
|
|
|
void initLogging(LoggingWithStorage *logging, const char *name) {
|
|
|
|
}
|
2022-09-24 04:35:19 -07:00
|
|
|
|
|
|
|
void setBoardConfigOverrides() {
|
|
|
|
}
|
|
|
|
|