Skip to content

Instantly share code, notes, and snippets.

@fd0
Created January 4, 2010 21:07
Show Gist options
  • Save fd0/268868 to your computer and use it in GitHub Desktop.
Save fd0/268868 to your computer and use it in GitHub Desktop.
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