mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Make CurveData members public
This commit is contained in:
@@ -29,9 +29,9 @@ pub(crate) fn temp_str(fan: char, index: usize) -> String {
|
|||||||
#[cfg_attr(feature = "dbus", derive(Type))]
|
#[cfg_attr(feature = "dbus", derive(Type))]
|
||||||
#[derive(Deserialize, Serialize, Default, Debug, Clone)]
|
#[derive(Deserialize, Serialize, Default, Debug, Clone)]
|
||||||
pub struct CurveData {
|
pub struct CurveData {
|
||||||
pub(crate) fan: FanCurvePU,
|
pub fan: FanCurvePU,
|
||||||
pub(crate) pwm: [u8; 8],
|
pub pwm: [u8; 8],
|
||||||
pub(crate) temp: [u8; 8],
|
pub temp: [u8; 8],
|
||||||
}
|
}
|
||||||
|
|
||||||
impl std::str::FromStr for CurveData {
|
impl std::str::FromStr for CurveData {
|
||||||
|
|||||||
Reference in New Issue
Block a user