summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2025-06-14 14:13:45 +0800
committerSadeep Madurange <sadeep@asciimx.com>2025-06-14 14:13:45 +0800
commit2de7224cc9228dd680e094a6439db3fc294554f2 (patch)
treefc03d0f74d19518c6c19b8feecab53dbd88d5990
parent5ed1b8b270aac3dc5f67cc445c18d17e29e89a1b (diff)
downloadfpm-door-lock-2de7224cc9228dd680e094a6439db3fc294554f2.tar.gz
Fix PWM
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index af3f5f6..86695c0 100644
--- a/main.c
+++ b/main.c
@@ -122,7 +122,7 @@ static inline void lock(void)
static inline void unlock(void)
{
- OCR1A = PWM_MAX - 50;
+ OCR1A = PWM_MAX;
_delay_ms(100);
OCR1A = PWM_TOP;
}