Whatever we call it, no matter how we do it - we need live data / remote view into rusEFI actual state #3353
progress
This commit is contained in:
parent
ea87d9c9be
commit
0254a141df
|
@ -240,6 +240,8 @@ static const void * getStructAddr(int structId) {
|
|||
return static_cast<trigger_central_s*>(&engine->triggerCentral);
|
||||
case LDS_TRIGGER_STATE_STATE_INDEX:
|
||||
return static_cast<trigger_state_s*>(&engine->triggerCentral.triggerState);
|
||||
case LDS_AC_STATE:
|
||||
return static_cast<ac_control_s*>(&engine->acState);
|
||||
#if EFI_ELECTRONIC_THROTTLE_BODY
|
||||
case LDS_ETB_PID_STATE_INDEX:
|
||||
return engine->etbControllers[0]->getPidState();
|
||||
|
|
|
@ -12,6 +12,10 @@ efitimeus_t getTimeNowUs(void) {
|
|||
return timeNowUs;
|
||||
}
|
||||
|
||||
efitimesec_t getTimeNowSeconds(void) {
|
||||
return getTimeNowUs() / 1000 / 1000;
|
||||
}
|
||||
|
||||
efitick_t getTimeNowNt(void) {
|
||||
return getTimeNowUs() * US_TO_NT_MULTIPLIER;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue