helping macro and pch.h

This commit is contained in:
kifir 2024-05-02 15:33:36 -04:00 committed by rusefi
parent 9cb308b09d
commit 40ffa027e3
2 changed files with 7 additions and 5 deletions

View File

@ -19,3 +19,9 @@ schfunc_t action_s::getCallback() const {
void * action_s::getArgument() const {
return m_param;
}
#if EFI_UNIT_TEST
efitick_t scheduling_s::getMomentUs() {
return momentX;
}
#endif

View File

@ -65,11 +65,7 @@ struct scheduling_s {
return momentX;
}
#if EFI_UNIT_TEST
efitick_t getMomentUs() {
return momentX;
}
#endif
efitick_t getMomentUs();
// todo: get rid of this 'I am not sure what's the proper type' method once we are done cleaning things up in unit tests
efitick_t getMomentRaw() {