Skip to content

Commit bc8f47c

Browse files
Fix macro definitions
1 parent 60602a9 commit bc8f47c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/heltec.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
Heltec_ESP32::Heltec_ESP32(){
88

9-
#if defined( WIFI_Kit_32 ) || ( WIFI_LoRa_32 ) || defined( WIFI_LoRa_32_V2 )
9+
#if defined( WIFI_Kit_32 ) || defined( WIFI_LoRa_32 ) || defined( WIFI_LoRa_32_V2 )
1010
display = new SSD1306Wire(0x3c, SDA_OLED, SCL_OLED, RST_OLED, GEOMETRY_128_64);
11-
#else
11+
#elif defined( Wireless_Stick )
1212
display = new SSD1306Wire(0x3c, SDA_OLED, SCL_OLED, RST_OLED, GEOMETRY_64_32);
1313
#endif
1414
}

0 commit comments

Comments
 (0)