feat(src): added feature of syncing timestamp for 200B

This commit is contained in:
Osenberg
2019-08-08 15:01:32 +08:00
parent 37b98e0d33
commit 190d066ddf
8 changed files with 104 additions and 2 deletions

View File

@@ -381,6 +381,14 @@ void Device::SetOptionValue(const Option &option, std::int32_t value) {
channels_->SetControlValue(option, value);
}
bool Device::SetOptionValue(const Option &option, std::uint64_t value) {
if (!Supports(option)) {
LOG(WARNING) << "Unsupported option: " << option;
return false;
}
return channels_->SetControlValue(option, value);
}
bool Device::RunOptionAction(const Option &option) const {
if (!Supports(option)) {
LOG(WARNING) << "Unsupported option: " << option;