raise threshold for switching to more sensitive IC range

This commit is contained in:
Sebastien Bourdeauducq 2017-06-08 21:51:11 +08:00
parent 5f19c2fdf5
commit 52c123f215
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ impl Electrometer {
board::ElectrometerRange::Med => Some(board::ElectrometerRange::High),
board::ElectrometerRange::High => None
}
} else if ic_sample < 100 {
} else if ic_sample < 105 {
match self.range {
board::ElectrometerRange::Low => None,
board::ElectrometerRange::Med => Some(board::ElectrometerRange::Low),