Skip to content

Commit 248cd48

Browse files
Add LED pin config, default OUTPUT
1 parent b3dc311 commit 248cd48

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/heltec.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ void Heltec_ESP32::begin(bool DisplayEnable, bool LoRaEnable, bool SerialEnable,
8484
}
8585
#endif
8686
}
87+
pinMode(LED,OUTPUT);
8788
}
8889

8990
void Heltec_ESP32::VextON(void)

0 commit comments

Comments
 (0)