Created
January 4, 2010 21:07
-
-
Save fd0/268868 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/fnordlicht-firmware/remote.c b/fnordlicht-firmware/remote.c | |
index 2594489..d6f54f7 100644 | |
--- a/fnordlicht-firmware/remote.c | |
+++ b/fnordlicht-firmware/remote.c | |
@@ -578,8 +578,8 @@ void parse_powerdown(void) | |
DDRC = 0; | |
DDRD = 0; | |
- /* configure int pin as input with pullup */ | |
- R_DDR = _BV(INTPIN); | |
+ /* configure int pin as input (already done by setting the | |
+ * DDR register to zero) with pullup */ | |
R_PORT = _BV(INTPIN); | |
/* enable int0 low level interrupt */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment