Skip to content

Commit 5359f7c

Browse files
committed
Decrease margin of stability detector from 4 to 1
1 parent 59f1966 commit 5359f7c

File tree

1 file changed

+1
-1
lines changed
  • firmware-binaries/demos/clock-control/src

1 file changed

+1
-1
lines changed

firmware-binaries/demos/clock-control/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ fn main() -> ! {
4242
let mut callisto = Callisto::new(cc.config().callisto);
4343

4444
// Initialize stability detector
45-
let mut stability_detector = StabilityDetector::new(4, Duration::from_secs(2));
45+
let mut stability_detector = StabilityDetector::new(1, Duration::from_secs(2));
4646

4747
// Store samples every _n_ updates. Currently set to 20 ms (50 Hz) times a
4848
// second (20 ms / 200 us = 100). Set to '1' for perfect storage -- not yet

0 commit comments

Comments
 (0)