Make sure TX and RX LEDs are off in mainNoUSB()

This commit is contained in:
Scott Allen 2018-04-07 07:28:15 -04:00
parent b8c1cb742a
commit 928c40813d
1 changed files with 2 additions and 0 deletions

View File

@ -592,6 +592,8 @@ void Arduboy2Core::mainNoUSB()
// This would normally be done in the USB code that uses the TX and RX LEDs // This would normally be done in the USB code that uses the TX and RX LEDs
TX_RX_LED_INIT; TX_RX_LED_INIT;
TXLED0;
RXLED0;
// Set the DOWN button pin for INPUT_PULLUP // Set the DOWN button pin for INPUT_PULLUP
bitSet(DOWN_BUTTON_PORT, DOWN_BUTTON_BIT); bitSet(DOWN_BUTTON_PORT, DOWN_BUTTON_BIT);