diff --git a/variants/heltec_v4/target.h b/variants/heltec_v4/target.h index 00d2adab6..f9ab0e6a6 100644 --- a/variants/heltec_v4/target.h +++ b/variants/heltec_v4/target.h @@ -13,6 +13,11 @@ #include #elif defined(HELTEC_LORA_V4_TFT) #include +#else + // If DISPLAY_CLASS is defined but OLED/TFT flags aren't set, + // assume SSD1306Display (most common case) + // This handles cases where DISPLAY_CLASS is set directly in build flags + #include #endif #include #endif