diff --git a/README.md b/README.md index 6f6ffb5..0a47cdd 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,6 @@ Copy the example config file `clrigctl.toml` to `$HOME/.config/` and adapt it to # This is an example config file. Please edit it to your needs # and place it, for example, in your `$HOME/.config/` -power = "5" # Output power in W - [cloudlog] # Note: URL should end with "/index.php/api/radio". url = "https://cloudlog.example.com/index.php/api/radio" diff --git a/clrigctl.toml b/clrigctl.toml index b1f3995..915df54 100644 --- a/clrigctl.toml +++ b/clrigctl.toml @@ -1,8 +1,6 @@ # This is an example config file. Please edit it to your needs # and place it, for example, in your `$HOME/.config/` -power = "5" # Output power in W - [cloudlog] # Note: URL should end with "/index.php/api/radio". url = "https://cloudlog.example.com/index.php/api/radio" diff --git a/src/cloudlog.rs b/src/cloudlog.rs index bb18eba..3892e06 100644 --- a/src/cloudlog.rs +++ b/src/cloudlog.rs @@ -7,7 +7,7 @@ pub struct RadioData { pub radio: String, pub frequency: String, pub mode: String, - pub power: String, + //pub power: String, } #[tokio::main] diff --git a/src/flrig.rs b/src/flrig.rs index 053373c..a4e6984 100644 --- a/src/flrig.rs +++ b/src/flrig.rs @@ -28,7 +28,7 @@ pub fn get_radio_data(fl_host: &str, fl_port: &str) -> Result radio: String::from(""), frequency: freq, mode, - power, + //power, }; Ok(radio_data) diff --git a/src/main.rs b/src/main.rs index 5592772..f5d6ad3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -23,7 +23,7 @@ fn main() { radio: settings.cloudlog.identifier, frequency: String::from(""), mode: String::from(""), - power: String::from(&settings.power), + //power: String::from(&settings.power), }; let mut changes_detected = false; diff --git a/src/settings.rs b/src/settings.rs index e7921e1..678269b 100644 --- a/src/settings.rs +++ b/src/settings.rs @@ -22,7 +22,7 @@ pub struct Flrig { pub struct Settings { pub cloudlog: Cloudlog, pub flrig: Flrig, - pub power: String, + //pub power: String, } impl Settings {