mirror of https://github.com/rusefi/rusefi.git
helping macro and pch.h
This commit is contained in:
parent
9cb308b09d
commit
40ffa027e3
|
@ -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
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue