Skip to content

Commit

Permalink
Fix data type used for microseconds
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaeling committed Nov 7, 2024
1 parent 8650998 commit a676231
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub struct Config {
#[derive(Deserialize, Clone)]
pub struct Group {
pub group_name: String,
pub cycle_time_μs: u16,
pub cycle_time_μs: u32,
pub signals: Vec<Signal>,
}
#[derive(Deserialize, Clone)]
Expand Down
2 changes: 1 addition & 1 deletion src/measure.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ pub struct MeasurementConfig {
pub host: String,
pub port: u64,
pub duration: Option<u64>,
pub interval: u16,
pub interval: u32,
pub skip_seconds: Option<u64>,
pub api: Api,
pub detailed_output: bool,
Expand Down

0 comments on commit a676231

Please sign in to comment.