moved hotkey to 'd'

This commit is contained in:
Ronald Schaten 2008-11-01 21:22:37 +00:00
parent 43c5c297e8
commit 45e6c7f2c2

View File

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