forked from M-Labs/ionpak-thermostat
raise threshold for switching to more sensitive IC range
This commit is contained in:
parent
5f19c2fdf5
commit
52c123f215
|
@ -36,7 +36,7 @@ impl Electrometer {
|
||||||
board::ElectrometerRange::Med => Some(board::ElectrometerRange::High),
|
board::ElectrometerRange::Med => Some(board::ElectrometerRange::High),
|
||||||
board::ElectrometerRange::High => None
|
board::ElectrometerRange::High => None
|
||||||
}
|
}
|
||||||
} else if ic_sample < 100 {
|
} else if ic_sample < 105 {
|
||||||
match self.range {
|
match self.range {
|
||||||
board::ElectrometerRange::Low => None,
|
board::ElectrometerRange::Low => None,
|
||||||
board::ElectrometerRange::Med => Some(board::ElectrometerRange::Low),
|
board::ElectrometerRange::Med => Some(board::ElectrometerRange::Low),
|
||||||
|
|
Loading…
Reference in New Issue