Drive information is stored in FL2 files.

This commit is contained in:
dg
2023-05-10 20:47:55 +00:00
parent 6b990a9f51
commit 5022b67e4a
6 changed files with 38 additions and 5 deletions

View File

@@ -36,6 +36,10 @@ public:
Fl2FluxSource(const Fl2FluxSourceProto& config): _config(config)
{
_proto = loadFl2File(_config.filename());
if (::config.has_drive())
warning("FLUX: overriding drive configuration with flux file contents");
::config.mutable_drive()->MergeFrom(_proto.drive());
}
public: