Don't store the actual DriveProto in FL2 files, because it makes the proto tags

significant.
This commit is contained in:
dg
2023-05-15 21:59:24 +00:00
parent 5c428e1f07
commit a03478b011
6 changed files with 14 additions and 20 deletions

View File

@@ -37,7 +37,9 @@ public:
{
_proto = loadFl2File(_config.filename());
*_extraConfig.mutable_drive() = _proto.drive();
_extraConfig.mutable_drive()->set_rotational_period_ms(
_proto.rotational_period_ms());
_extraConfig.mutable_drive()->set_tpi(_proto.tpi());
}
public: