summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2025-06-14 17:13:24 +0800
committerSadeep Madurange <sadeep@asciimx.com>2025-06-14 17:13:24 +0800
commit99793f5b779dfbd7661db0b353a3911572814ce7 (patch)
tree4160aaa628b906248f901c39c9bf2b0d849ab778
parent232de7f413d7c677a90efac0ee212c46a95add88 (diff)
downloadfpm-door-lock-99793f5b779dfbd7661db0b353a3911572814ce7.tar.gz
Formatting.
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index c321d24..3d32f28 100644
--- a/main.c
+++ b/main.c
@@ -114,7 +114,7 @@ int main(void)
LED_DDR |= (1 << LED_PIN);
LED_PORT &= ~(1 << LED_PIN);
- /* init input ports */
+ /* input ports */
INPUT_DDR &= ~((1 << BACK_LOCK_PIN) | (1 << BACK_UNLOCK_PIN) |
(1 << FRONT_LOCK_PIN) | (1 << FRONT_UNLOCK_PIN) |
(1 << ENROLL_PIN));
@@ -130,7 +130,7 @@ int main(void)
PCMSK2 |= ((1 << FRONT_LOCK_INT) | (1 << ENROLL_INT) |
(1 << BACK_LOCK_INT) | (1 << BACK_UNLOCK_INT));
- /* init servo */
+ /* servo */
ICR1 = PWM_TOP;
TCCR1A |= (1 << WGM11) | (1 << COM1A1);
TCCR1B |= (1 << WGM13) | (1 << CS11);