drivers: hrs3300: Reduce HGAIN to x8

Experimentally drop the HGAIN to x8. Currently the evidence base for
this change is a little weak but it doesn't seem to be *worse* than
what we have now. Therefore I hope the wasp-os users will forgive me
for using them as guinea pigs!

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
This commit is contained in:
Daniel Thompson 2021-09-10 21:17:14 +01:00
parent da71d39aa4
commit bbf7d3aa14

View file

@ -42,7 +42,8 @@ class HRS3300:
w(_RES, 0x88)
# 64x gain
w(_HGAIN, 0x10)
#w(_HGAIN, 0x10)
w(_HGAIN, 0x03)
def read_reg(self, addr):
return self._i2c.readfrom_mem(_I2CADDR, addr, 1)[0]