summaryrefslogtreecommitdiffstats
path: root/lock/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'lock/util.c')
-rw-r--r--lock/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lock/util.c b/lock/util.c
index 683faa2..4f63625 100644
--- a/lock/util.c
+++ b/lock/util.c
@@ -7,7 +7,7 @@
int is_btn_pressed(uint8_t pin, uint8_t btn)
{
if (!((pin >> btn) & 0x01)) {
- _delay_us(2000);
+ _delay_ms(100);
return !((pin >> btn) & 0x01);
}
return 0;