only: setTimeNowUs(): replace global fiddling with a function call
This commit is contained in:
parent
3f45fd63c5
commit
47269c20bf
|
@ -1 +1 @@
|
||||||
Subproject commit 031210ae1b64ee0a9f354652487afd8ba7bbb8c1
|
Subproject commit a61291f75e2b2a02bddd42bb60b6d66e3ee84c85
|
|
@ -12,16 +12,6 @@ efitimems_t getTimeNowMs() {
|
||||||
return US2MS(getTimeNowUs());
|
return US2MS(getTimeNowUs());
|
||||||
}
|
}
|
||||||
|
|
||||||
extern int timeNowUs;
|
|
||||||
|
|
||||||
void setTimeNowUs(int us) {
|
|
||||||
timeNowUs = us;
|
|
||||||
}
|
|
||||||
|
|
||||||
void advanceTimeUs(int us) {
|
|
||||||
timeNowUs += us;
|
|
||||||
}
|
|
||||||
|
|
||||||
void initLogging(LoggingWithStorage *logging, const char *name) {
|
void initLogging(LoggingWithStorage *logging, const char *name) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue