ad7172: rm unused FiltCon odc setting

This commit is contained in:
Astro 2019-09-19 00:48:49 +02:00
parent 2ca06e023b
commit 2d2e7e80e0
1 changed files with 0 additions and 2 deletions

View File

@ -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);