mirror of https://github.com/MLXXXp/Arduboy2.git
Fix initialisation of Right button for DevKit
This commit is contained in:
parent
46ecb2dd78
commit
e6e82bf336
|
@ -163,10 +163,10 @@ void Arduboy2Core::bootPins()
|
||||||
DDRB |= _BV(BLUE_LED_BIT) | _BV(SPI_MOSI_BIT) | _BV(SPI_SCK_BIT);
|
DDRB |= _BV(BLUE_LED_BIT) | _BV(SPI_MOSI_BIT) | _BV(SPI_SCK_BIT);
|
||||||
|
|
||||||
// Port C INPUT_PULLUP or HIGH
|
// Port C INPUT_PULLUP or HIGH
|
||||||
PORTE |= _BV(RIGHT_BUTTON_BIT);
|
PORTC |= _BV(RIGHT_BUTTON_BIT);
|
||||||
// Port C INPUT or LOW (none)
|
// Port C INPUT or LOW (none)
|
||||||
// Port C inputs
|
// Port C inputs
|
||||||
DDRE &= ~(_BV(RIGHT_BUTTON_BIT));
|
DDRC &= ~(_BV(RIGHT_BUTTON_BIT));
|
||||||
// Port C outputs (none)
|
// Port C outputs (none)
|
||||||
|
|
||||||
// Port D INPUT_PULLUP or HIGH
|
// Port D INPUT_PULLUP or HIGH
|
||||||
|
|
Loading…
Reference in New Issue