From cc61962875370da34f2c3e94fe318fc0ce506f3e Mon Sep 17 00:00:00 2001 From: Ronald Schaten Date: Sun, 26 Oct 2008 00:38:41 +0000 Subject: [PATCH] pullup for bootloader-key, now the bootloader exits if the key is released --- bootloader/bootloaderconfig.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bootloader/bootloaderconfig.h b/bootloader/bootloaderconfig.h index 3d382e5..b9958c5 100644 --- a/bootloader/bootloaderconfig.h +++ b/bootloader/bootloaderconfig.h @@ -140,6 +140,8 @@ static inline void bootLoaderInit(void) { // and later look for column 7 DDRA = 0x00; PORTA = 0xff; + DDRB &= ~(1 << PB7); + PORTB |= (1 << PB7); DDRC = (1 << DDC2); PORTC = ~(1 << PINC2); }