summaryrefslogtreecommitdiffstats
path: root/lock/util.h
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2025-05-01 14:18:31 +0800
committerSadeep Madurange <sadeep@asciimx.com>2025-05-01 14:18:31 +0800
commita1de6ebc054c84e1f27b21998cb017ae38151a2e (patch)
treee59592281e8f81fe4e5e6aa4586fe1e796b14176 /lock/util.h
parent57e9d1a5c00dc7dc5cf3149c35a8004b5f7aab7f (diff)
downloadsmart-home-a1de6ebc054c84e1f27b21998cb017ae38151a2e.tar.gz
Check vcc and add LEDs for lock/unlock.
Diffstat (limited to 'lock/util.h')
-rw-r--r--lock/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lock/util.h b/lock/util.h
index 51a990c..730beae 100644
--- a/lock/util.h
+++ b/lock/util.h
@@ -14,4 +14,6 @@ int is_btn_pressed(uint8_t pin, uint8_t btn);
void xor(const char *k, const char *s, char *d, uint8_t n);
+uint16_t getvcc(void);
+
#endif /* MY_UTIL_H */