From 065594d8b1344ed8110f7e7e1ff4b7281e8eb291 Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Tue, 15 Apr 2025 18:43:49 +0800 Subject: Backend btns and debounce logic. --- lock/util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lock/util.h') 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 */ -- cgit v1.2.3