[riot-notifications] [RIOT-OS/RIOT] drivers/lis2dh12: clean up API (#16328)

Francisco notifications at github.com
Thu Jun 3 13:24:28 CEST 2021


@fjmolinas approved this pull request.

ACK, events seem precise enough:

```
2021-06-03 13:20:54,580 # click 1000 50000
2021-06-03 13:20:54,585 # error: 0
> 2021-06-03 13:20:55,498 # click event
2021-06-03 13:20:56,250 # click event
2021-06-03 13:20:57,503 # click event
2021-06-03 13:20:58,649 # click event
threshold 1 2000
```

```
2021-06-03 13:21:14,505 # main(): This is RIOT! (Version: 2021.04-devel-1341-ga338b-pr-16328)
2021-06-03 13:21:14,510 # using I2C mode, for SPI mode select the lis2dh12_spi module
2021-06-03 13:21:14,517 # lis2dh12 [Initialized]
threshold 1 2000
2021-06-03 13:21:16,747 # threshold 1 2000
> 2021-06-03 13:21:19,760 # error: 0
2021-06-03 13:21:21,746 # event 1
2021-06-03 13:21:21,784 # event 1
2021-06-03 13:21:21,813 # event 1
2021-06-03 13:21:22,662 # event 1
2021-06-03 13:21:22,699 # event 1
2021-06-03 13:21:22,728 # event 1
2021-06-03 13:21:23,528 # event 1
2021-06-03 13:21:23,556 # event 1
2021-06-03 13:21:24,203 # event 1
2021-06-03 13:21:24,751 # event 1
2021-06-03 13:21:25,320 # event 1
2021-06-03 13:21:25,754 # event 1
2021-06-03 13:21:26,217 # event 1
2021-06-03 13:21:26,669 # event 1
2021-06-03 13:21:27,420 # event 1
2021-06-03 13:21:27,941 # event 1
2021-06-03 13:21:27,989 # event 1
2021-06-03 13:21:30,137 # event 1
2021-06-03 13:21:30,166 # event 1
2021-06-03 13:21:30,947 # event 1
2021-06-03 13:21:30,994 # event 1
2021-06-03 13:21:31,023 # event 1
2021-06-03 13:21:31,997 # event 1
2021-06-03 13:21:32,767 # event 1
2021-06-03 13:21:33,528 # event 1
2021-06-03 13:21:34,270 # event 1
2021-06-03 13:21:35,581 # event 1
2021-06-03 13:21:36,612 # event 1
2021-06-03 13:21:36,640 # event 1
2021-06-03 13:21:36,678 # event 1
2021-06-03 13:21:36,707 # event 1
```



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16328#pullrequestreview-675168320
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210603/8ec0e5a1/attachment.htm>


More information about the notifications mailing list