and do not send power
This commit is contained in:
parent
d694418dda
commit
745a2dce3a
6 changed files with 4 additions and 8 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue