On 07/09/2019 13.08, Jonathan Cameron wrote:
}, + .wakeup_src_reg = 0x1b, + .wakeup_src_status_mask = BIT(4),Bit 4? I just checked the LSM6DS3 data sheet and the Wakeup Event Detection status is bit 3. Bit 4 is the sleep event status... Also checked the LSM6DSL.
Hi Jonathan You are right :-)Can't quite understand why it worked with bit 4, it still works by checking the correct BIT(3)
/Sean