mirror of
https://github.com/hubaldv/bioz-host-rs.git
synced 2025-12-06 05:11:17 +00:00
Included setting dft number from gui.
This commit is contained in:
@@ -78,8 +78,8 @@ async fn main() {
|
||||
.subscribe_multi::<icd::ImpedanceOutputTopic>(8)
|
||||
.await
|
||||
.unwrap();
|
||||
client.start_impedancemeter(freq).await.unwrap();
|
||||
println!("Started!");
|
||||
client.start_impedancemeter(freq, bioz_icd_rs::IcdDftNum::Num2048).await.unwrap();
|
||||
println!("Started with dft_num 2048!");
|
||||
let dur = Duration::from_millis(dur.into());
|
||||
|
||||
let start = Instant::now();
|
||||
@@ -97,8 +97,8 @@ async fn main() {
|
||||
|
||||
};
|
||||
|
||||
match client.start_impedancemeter(freq).await {
|
||||
Ok(_) => println!("Started!"),
|
||||
match client.start_impedancemeter(freq, bioz_icd_rs::IcdDftNum::Num2048).await {
|
||||
Ok(_) => println!("Started with dft_num 2048!"),
|
||||
Err(e) => println!("Error starting impedancemeter: {:?}", e),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user