Add panel_od support

This commit is contained in:
Luke D. Jones
2022-07-17 20:21:34 +12:00
parent fee1486db6
commit 23353c77f3
7 changed files with 130 additions and 4 deletions

View File

@@ -6,7 +6,7 @@ use std::path::PathBuf;
pub static CONFIG_PATH: &str = "/etc/asusd/asusd.conf";
#[derive(Deserialize, Serialize)]
#[derive(Deserialize, Serialize, Default)]
pub struct Config {
/// Save charge limit for restoring on boot
pub bat_charge_limit: u8,