mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 09:28:40 +02:00
Settings: Add GPTP
This commit is contained in:
committed by
Kyle Schwarz
parent
2d0b0c63ed
commit
299766403f
@@ -290,6 +290,15 @@ private:
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
const RAD_GPTP_SETTINGS* getGPTPSettings() const override {
|
||||
auto cfg = getStructurePointer<radcomet2_settings_t>();
|
||||
return cfg ? &cfg->gPTP : nullptr;
|
||||
}
|
||||
RAD_GPTP_SETTINGS* getMutableGPTPSettings() override {
|
||||
auto cfg = getMutableStructurePointer<radcomet2_settings_t>();
|
||||
return cfg ? &cfg->gPTP : nullptr;
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user