ROGCC: begin using the new asus_armoury API

This commit is contained in:
Luke D. Jones
2024-12-29 21:53:11 +13:00
parent f7456f0144
commit 4011b3ebd4
18 changed files with 702 additions and 501 deletions

View File

@@ -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.