First addition of __has_include for sensor support

This commit is contained in:
Jonathan Bennett 2025-04-25 16:25:52 -05:00
parent 03f19bca0e
commit 4c6b895e3a

View File

@ -1,6 +1,6 @@
#include "configuration.h"
#if !MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR
#if !MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR && __has_include("Adafruit_PM25AQI.h")
#include "../mesh/generated/meshtastic/telemetry.pb.h"
#include "AirQualityTelemetry.h"