Removed 'Default' field in BCValue.

This commit is contained in:
2026-01-01 23:39:12 +01:00
parent dce792e00d
commit 43f72d1be6
3 changed files with 8 additions and 7 deletions

View File

@@ -172,7 +172,6 @@ void BCXmlLoader::loadXmlBikeDeviceData(BCDevice::ID deviceID)
{
.ID = id,
.Label = _xml.attributes().value(BCTags::Label).toString(),
.Default = _xml.attributes().value(BCTags::Default).toString(),
.UnitType = _xml.attributes().value(BCTags::UnitType).toString(),
};
@@ -242,8 +241,6 @@ std::optional<BCValue> BCXmlLoader::makeDataValue( BCDevice::ID deviceID, const
setIfExists( params.Max, newValue.max );
*/
newValue->label = params.Label;
newValue->defaultValue = params.Default;
qDebug() << " --- created: " << params.Label;
}
}