mirror of
https://github.com/hubaldv/bioz-host-rs.git
synced 2025-12-06 05:11:17 +00:00
Inluded frequency selector at start.
This commit is contained in:
@@ -63,7 +63,7 @@ impl WorkbookClient {
|
||||
|
||||
pub async fn start_impedancemeter(
|
||||
&self,
|
||||
frequency: f32,
|
||||
frequency: u32,
|
||||
) -> Result<(), WorkbookError<Infallible>> {
|
||||
self.client
|
||||
.send_resp::<StartImpedanceEndpoint>(&StartImpedance { update_frequency: 60, sinus_frequency: frequency })
|
||||
@@ -78,4 +78,4 @@ impl WorkbookClient {
|
||||
.await?;
|
||||
Ok(res)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user