mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-07 23:20:31 -04:00
manager/user: Fix GpuPerformanceLevel1.ManualGpuClock setter
This commit is contained in:
parent
674c693180
commit
ad16c615e9
1 changed files with 4 additions and 1 deletions
|
@ -324,7 +324,10 @@ impl GpuPerformanceLevel1 {
|
|||
|
||||
#[zbus(property)]
|
||||
async fn set_manual_gpu_clock(&self, clocks: u32) -> zbus::Result<()> {
|
||||
setter!(self, "SetManualGpuClock", clocks)
|
||||
self.proxy
|
||||
.call("SetManualGpuClock", &(clocks))
|
||||
.await
|
||||
.map_err(to_zbus_error)
|
||||
}
|
||||
|
||||
#[zbus(property(emits_changed_signal = "const"))]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue