forked from M-Labs/ionpak-thermostat
ad7172: rm unused FiltCon odc setting
This commit is contained in:
parent
2ca06e023b
commit
2d2e7e80e0
|
@ -65,8 +65,6 @@ impl<SPI: Transfer<u8>, NSS: OutputPin> Adc<SPI, NSS> {
|
||||||
data.set_enh_filt_en(true);
|
data.set_enh_filt_en(true);
|
||||||
data.set_enh_filt(PostFilter::F16SPS);
|
data.set_enh_filt(PostFilter::F16SPS);
|
||||||
data.set_order(DigitalFilterOrder::Sinc5Sinc1);
|
data.set_order(DigitalFilterOrder::Sinc5Sinc1);
|
||||||
// 10 Hz data rate
|
|
||||||
data.set_odr(0b10011);
|
|
||||||
})?;
|
})?;
|
||||||
// let mut offset = <regs::Offset as regs::Register>::Data::empty();
|
// let mut offset = <regs::Offset as regs::Register>::Data::empty();
|
||||||
// offset.set_offset(0);
|
// offset.set_offset(0);
|
||||||
|
|
Loading…
Reference in New Issue