diff options
Diffstat (limited to 'door_lock')
| -rw-r--r-- | door_lock/servo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/door_lock/servo.c b/door_lock/servo.c index 2bd0a93..495f9b1 100644 --- a/door_lock/servo.c +++ b/door_lock/servo.c @@ -26,7 +26,7 @@ static inline int is_btn_pressed(unsigned char btn) { if (!((PIND >> btn) & 0x01)) { _delay_us(2000); - return !((PIND >> btn) & 0x01); + return !((PIND >> btn) & 0x01); } return 0; |
