blob: e43b18fb47188712bf12ce515772adc65547ab03 [file] [log] [blame]
// Copyright 2019 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "libmems/iio_device.h"
namespace libmems {
bool IioDevice::IsSingleSensor() const {
return ReadStringAttribute("location").has_value();
}
} // namespace libmems