Skip to content

Commit

Permalink
Temporary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
stianvikanes committed Jun 29, 2023
1 parent 587ea2a commit 2da10f8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 18 deletions.
2 changes: 1 addition & 1 deletion sfy-buoy/sfy-artemis/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ fn main() -> ! {

// XXX: This needs to be adapted to frequency, and queue length. Maybe just remove when we
// have the remaining space check? Check after Hjeltefjorden deployment.
const LOOP_DELAY: u32 = 10 * 40_000; ///////////////////////
const LOOP_DELAY: u32 = 14 * 40_000;
const SHORT_LOOP_DELAY: u32 = 30_000;

// Process data and communication for the Notecard.
Expand Down
27 changes: 10 additions & 17 deletions sfy-buoy/src/waves/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,11 @@ pub enum Freq {
Hz52,
Hz104,
Hz208,
Hz416,
//Hz416,
Hz417,
Hz833,
KHz166,
Hz1667,
KHz333,
Hz3333,
KHz666,
Hz6667,
}

Expand All @@ -69,13 +66,10 @@ impl Freq {
Hz104 => 104.,
Hz208 => 208.,
Hz417 => 417.,
Hz416 => 416.,
//Hz416 => 416.,
Hz833 => 833.,
KHz166 => 1667.,
Hz1667 => 1667.,
KHz333 => 3333.,
Hz3333 => 3333.,
KHz666 => 6667.,
Hz6667 => 6667.,
}
}
Expand All @@ -89,12 +83,11 @@ impl Freq {
Hz52 => Odr::Hz52,
Hz104 => Odr::Hz104,
Hz208 => Odr::Hz208,
Hz416 => Odr::Hz416,
//Hz417 => Odr::
Hz417 => Odr::Hz417,
Hz833 => Odr::Hz833,
KHz166 => Odr::KHz166,
KHz333 => Odr::KHz333,
KHz666 => Odr::KHz666,
Hz1667 => Odr::Hz1667,
Hz3333 => Odr::Hz3333,
Hz6667 => Odr::Hz6667,
}
}

Expand All @@ -107,11 +100,11 @@ impl Freq {
Hz52 => Odr::Hz52,
Hz104 => Odr::Hz104,
Hz208 => Odr::Hz208,
Hz416 => Odr::Hz416,
Hz417 => Odr::Hz417,
Hz833 => Odr::Hz833,
KHz166 => Odr::KHz166,
KHz333 => Odr::KHz333,
KHz666 => Odr::KHz666,
Hz1667 => Odr::Hz1667,
Hz3333 => Odr::Hz3333,
Hz6667 => Odr::Hz6667,
}
}

Expand Down

0 comments on commit 2da10f8

Please sign in to comment.