This commit is contained in:
Nav
2023-09-20 18:56:44 +01:00
parent be5e89456c
commit df5a141089
3 changed files with 18 additions and 24 deletions

View File

@@ -456,8 +456,8 @@ namespace TargetController
}
void TargetControllerComponent::acquireHardware() {
auto debugToolName = this->environmentConfig.debugToolConfig.name;
auto targetName = this->environmentConfig.targetConfig.name;
const auto& debugToolName = this->environmentConfig.debugToolConfig.name;
const auto& targetName = this->environmentConfig.targetConfig.name;
static const auto supportedDebugTools = this->getSupportedDebugTools();
static const auto supportedTargets = this->getSupportedTargets();