moved hotkey to 'd'
This commit is contained in:
parent
43c5c297e8
commit
45e6c7f2c2
@ -122,7 +122,7 @@
|
|||||||
# define SRDATAOFF PORTC &= ~(1 << PC6)
|
# define SRDATAOFF PORTC &= ~(1 << PC6)
|
||||||
# define SRSTROBEON PORTC |= (1 << PC7)
|
# define SRSTROBEON PORTC |= (1 << PC7)
|
||||||
# define SRSTROBEOFF PORTC &= ~(1 << PC7)
|
# define SRSTROBEOFF PORTC &= ~(1 << PC7)
|
||||||
# define KEYROW 6
|
# define KEYROW 16
|
||||||
#endif
|
#endif
|
||||||
uint8_t ledcounter = 0; ///< counter used to set the speed of the running light
|
uint8_t ledcounter = 0; ///< counter used to set the speed of the running light
|
||||||
uint8_t ledstate = 0; ///< state of the running light
|
uint8_t ledstate = 0; ///< state of the running light
|
||||||
@ -239,8 +239,8 @@ static inline uint8_t bootLoaderCondition() {
|
|||||||
#endif
|
#endif
|
||||||
#ifdef MODELSUNTYPE5
|
#ifdef MODELSUNTYPE5
|
||||||
static inline uint8_t bootLoaderCondition() {
|
static inline uint8_t bootLoaderCondition() {
|
||||||
// look for pin 7
|
// look for pin 12, key: d
|
||||||
if (!(PINA & (1 << PINA6))) {
|
if (!(PINC & (1 << PINC4))) {
|
||||||
// boot loader active, blink leds
|
// boot loader active, blink leds
|
||||||
_delay_ms(1);
|
_delay_ms(1);
|
||||||
ledcounter++;
|
ledcounter++;
|
||||||
|
Loading…
Reference in New Issue
Block a user