and do not send power
This commit is contained in:
parent
d694418dda
commit
745a2dce3a
6 changed files with 4 additions and 8 deletions
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -7,7 +7,7 @@ pub struct RadioData {
|
|||
pub radio: String,
|
||||
pub frequency: String,
|
||||
pub mode: String,
|
||||
pub power: String,
|
||||
//pub power: String,
|
||||
}
|
||||
|
||||
#[tokio::main]
|
||||
|
|
|
@ -28,7 +28,7 @@ pub fn get_radio_data(fl_host: &str, fl_port: &str) -> Result<RadioData, Error>
|
|||
radio: String::from(""),
|
||||
frequency: freq,
|
||||
mode,
|
||||
power,
|
||||
//power,
|
||||
};
|
||||
|
||||
Ok(radio_data)
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -22,7 +22,7 @@ pub struct Flrig {
|
|||
pub struct Settings {
|
||||
pub cloudlog: Cloudlog,
|
||||
pub flrig: Flrig,
|
||||
pub power: String,
|
||||
//pub power: String,
|
||||
}
|
||||
|
||||
impl Settings {
|
||||
|
|
Loading…
Reference in a new issue