summaryrefslogtreecommitdiff
path: root/digital/beacon
diff options
context:
space:
mode:
Diffstat (limited to 'digital/beacon')
-rw-r--r--digital/beacon/src/codewheel.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/digital/beacon/src/codewheel.c b/digital/beacon/src/codewheel.c
index 74c8eb2e..73c0329f 100644
--- a/digital/beacon/src/codewheel.c
+++ b/digital/beacon/src/codewheel.c
@@ -41,6 +41,9 @@ void codewheel_init(void)
/* Set codewheel state*/
codewheel_set_state(CODEWHEEL_INIT);
+ /* activated pull up on E6 */
+ PORTE = 0x40;
+
/* Select external clock on rising edge for timer 3 */
TCCR3B |= (1<<CS30)|(1<<CS31)|(1<<CS32);