diff options
| author | Sadeep Madurange <sadeep@asciimx.com> | 2025-06-14 17:13:24 +0800 |
|---|---|---|
| committer | Sadeep Madurange <sadeep@asciimx.com> | 2025-06-14 17:13:24 +0800 |
| commit | 99793f5b779dfbd7661db0b353a3911572814ce7 (patch) | |
| tree | 4160aaa628b906248f901c39c9bf2b0d849ab778 | |
| parent | 232de7f413d7c677a90efac0ee212c46a95add88 (diff) | |
| download | fpm-door-lock-99793f5b779dfbd7661db0b353a3911572814ce7.tar.gz | |
Formatting.
| -rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |
