summaryrefslogtreecommitdiffstats
path: root/lock/client.c
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2025-05-28 11:22:33 +0800
committerSadeep Madurange <sadeep@asciimx.com>2025-05-28 11:22:33 +0800
commit95bad4e18e1215d95eae2f7c5189678c679b6ac1 (patch)
tree43179d4fb79e2fa519753efe344fc15219521150 /lock/client.c
parent0104add45955586f6c3aeb4a601931b97dc04da9 (diff)
downloadsmart-home-95bad4e18e1215d95eae2f7c5189678c679b6ac1.tar.gz
Fix init_btns().
Diffstat (limited to 'lock/client.c')
-rw-r--r--lock/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lock/client.c b/lock/client.c
index b67bb47..393d260 100644
--- a/lock/client.c
+++ b/lock/client.c
@@ -50,8 +50,8 @@ static inline void init_rx(void)
static inline void init_btns(void)
{
- DDRD &= ~((1 << LOCK_PIN) | (1 << UNLOCK_PIN) | ENROLL_PIN);
- PORTD |= ((1 << LOCK_PIN) | (1 << UNLOCK_PIN) | ENROLL_PIN);
+ DDRD &= ~((1 << LOCK_PIN) | (1 << UNLOCK_PIN) | (1 << ENROLL_PIN));
+ PORTD |= ((1 << LOCK_PIN) | (1 << UNLOCK_PIN) | (1 << ENROLL_PIN));
EICRA = 0b00000000;
EIMSK = (1 << INT0) | (1 << INT1);