nanohub: drivers/st_mag40: Force a read to OUT regs to clear DRDY event

Force a OUT registers read during sensor startup to clear a possible
pending DRDY event condition which may mistakenly trigger a false
interrupt.

Change-Id: I9476f1399268e57593bd77ae938505f8abb6327e
Signed-off-by: Armando Visconti <armando.visconti@st.com>
1 file changed
tree: e556c9db5a07a1b1ac05aa6013815285c9d60b09
  1. contexthubhal/
  2. firmware/
  3. inc/
  4. lib/
  5. sensorhal/
  6. util/
  7. .gitignore
  8. OWNERS