mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-15 10:46:41 -04:00
proxy: Update AmbientLightSensor1 definition
This commit is contained in:
parent
eb7a136834
commit
a54e3d0c55
2 changed files with 3 additions and 5 deletions
|
@ -19,10 +19,7 @@ use zbus::proxy;
|
|||
assume_defaults = true
|
||||
)]
|
||||
trait AmbientLightSensor1 {
|
||||
/// GetAlsIntegrationTimeFileDescriptor method
|
||||
fn get_als_integration_time_file_descriptor(&self) -> zbus::Result<zbus::zvariant::OwnedFd>;
|
||||
|
||||
/// AlsCalibrationGain property
|
||||
#[zbus(property)]
|
||||
fn als_calibration_gain(&self) -> zbus::Result<f64>;
|
||||
fn als_calibration_gain(&self) -> zbus::Result<Vec<f64>>;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue