only:better method name

This commit is contained in:
rusefillc 2023-11-22 23:58:30 -05:00
parent d03f1fcf2a
commit 1f990e8fef
3 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -85,7 +85,7 @@
static DcHardware dcHardware[ETB_COUNT + DC_PER_STEPPER];
DcHardware *getdcHardware() {
DcHardware *getPrimaryDCHardwareForLogging() {
return &dcHardware[0];
}

View File

@ -76,4 +76,4 @@ public:
}
};
DcHardware *getdcHardware();
DcHardware *getPrimaryDCHardwareForLogging();