mirror of https://github.com/rusefi/rusefi.git
only:better method name
This commit is contained in:
parent
d03f1fcf2a
commit
1f990e8fef
|
@ -600,7 +600,7 @@ void updateTunerStudioState() {
|
|||
tsOutputChannels->tsConfigVersion = TS_FILE_VERSION;
|
||||
static_assert(offsetof (TunerStudioOutputChannels, tsConfigVersion) == TS_FILE_VERSION_OFFSET);
|
||||
|
||||
DcHardware *dc = getdcHardware();
|
||||
DcHardware *dc = getPrimaryDCHardwareForLogging();
|
||||
engine->dc_motors.dcOutput0 = dc->dcMotor.get();
|
||||
engine->dc_motors.isEnabled0_int = dc->msg() == nullptr;
|
||||
|
||||
|
|
|
@ -85,7 +85,7 @@
|
|||
|
||||
static DcHardware dcHardware[ETB_COUNT + DC_PER_STEPPER];
|
||||
|
||||
DcHardware *getdcHardware() {
|
||||
DcHardware *getPrimaryDCHardwareForLogging() {
|
||||
return &dcHardware[0];
|
||||
}
|
||||
|
||||
|
|
|
@ -76,4 +76,4 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
DcHardware *getdcHardware();
|
||||
DcHardware *getPrimaryDCHardwareForLogging();
|
||||
|
|
Loading…
Reference in New Issue