manager/user: Fix GpuPerformanceLevel1.ManualGpuClock setter

This commit is contained in:
Vicki Pfau 2024-08-08 20:22:13 -07:00
parent 674c693180
commit ad16c615e9

View file

@ -324,7 +324,10 @@ impl GpuPerformanceLevel1 {
#[zbus(property)] #[zbus(property)]
async fn set_manual_gpu_clock(&self, clocks: u32) -> zbus::Result<()> { 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"))] #[zbus(property(emits_changed_signal = "const"))]