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++;