mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-01-22 09:23:19 +01:00
ROGCC: begin using the new asus_armoury API
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
//!
|
||||
//! `zbus-xmlgen system xyz.ljones.Asusd
|
||||
//! /xyz/ljones/asus_armoury/nv_temp_target`
|
||||
use rog_platform::firmware_attributes::FirmwareAttribute;
|
||||
use zbus::proxy;
|
||||
#[proxy(
|
||||
interface = "xyz.ljones.AsusArmoury",
|
||||
@@ -41,7 +42,7 @@ pub trait AsusArmoury {
|
||||
|
||||
/// Name property
|
||||
#[zbus(property)]
|
||||
fn name(&self) -> zbus::Result<String>;
|
||||
fn name(&self) -> zbus::Result<FirmwareAttribute>;
|
||||
|
||||
/// ScalarIncrement property. The increment steps that `current_value` may
|
||||
/// take. Returns `-1` if not used or set.
|
||||
|
||||
Reference in New Issue
Block a user