From 45e6c7f2c291701f5ed0ba2837f5cd6f969524f3 Mon Sep 17 00:00:00 2001 From: Ronald Schaten Date: Sat, 1 Nov 2008 21:22:37 +0000 Subject: [PATCH] moved hotkey to 'd' --- bootloader/bootloaderconfig.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bootloader/bootloaderconfig.h b/bootloader/bootloaderconfig.h index b9958c5..0fc990d 100644 --- a/bootloader/bootloaderconfig.h +++ b/bootloader/bootloaderconfig.h @@ -122,7 +122,7 @@ # define SRDATAOFF PORTC &= ~(1 << PC6) # define SRSTROBEON PORTC |= (1 << PC7) # define SRSTROBEOFF PORTC &= ~(1 << PC7) -# define KEYROW 6 +# define KEYROW 16 #endif uint8_t ledcounter = 0; ///< counter used to set the speed of the running light uint8_t ledstate = 0; ///< state of the running light @@ -239,8 +239,8 @@ static inline uint8_t bootLoaderCondition() { #endif #ifdef MODELSUNTYPE5 static inline uint8_t bootLoaderCondition() { - // look for pin 7 - if (!(PINA & (1 << PINA6))) { + // look for pin 12, key: d + if (!(PINC & (1 << PINC4))) { // boot loader active, blink leds _delay_ms(1); ledcounter++;