diff options
| author | Sadeep Madurange <sadeep@asciimx.com> | 2025-04-15 18:43:49 +0800 |
|---|---|---|
| committer | Sadeep Madurange <sadeep@asciimx.com> | 2025-04-15 20:46:46 +0800 |
| commit | 065594d8b1344ed8110f7e7e1ff4b7281e8eb291 (patch) | |
| tree | 45b520ad2a8219fbf313e403a0a592fdf7af83d9 /lock/util.h | |
| parent | 18502ba0f60906d6fc886d85096d8c2eef9ca4a9 (diff) | |
| download | smart-home-065594d8b1344ed8110f7e7e1ff4b7281e8eb291.tar.gz | |
Backend btns and debounce logic.
Diffstat (limited to 'lock/util.h')
| -rw-r--r-- | lock/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lock/util.h b/lock/util.h index 32dbcad..51a990c 100644 --- a/lock/util.h +++ b/lock/util.h @@ -10,6 +10,8 @@ #define WDLEN 32 +int is_btn_pressed(uint8_t pin, uint8_t btn); + void xor(const char *k, const char *s, char *d, uint8_t n); #endif /* MY_UTIL_H */ |
