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::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),
|
||||
|
|
Loading…
Reference in New Issue