-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
drivers: import PIR motion sensor driver #1714
Conversation
Bug found on the go: |
|
||
int pir_activate_int(pir_t *dev); | ||
void pir_callback(void *dev); | ||
void pir_send_msg(pir_t *dev, pir_event_t event); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Internal but not static
?
83cf6fc
to
9a2c5ec
Compare
9a2c5ec
to
0237758
Compare
* @brief device descriptor for a PIR sensor | ||
*/ | ||
typedef struct { | ||
gpio_t gpio_dev; /**< GPIO device which is used */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indention
Includes an application for manual testing.
Looking great, nice effort for the documentation! ACK (when squashed) |
44d6989
to
e75dd40
Compare
squashed |
drivers: import PIR motion sensor driver
TODO:
- [x] blacklist boards without GPIO