Minor cleanup from refactor

This commit is contained in:
Jonathan Bennett
2026-05-08 17:30:00 -05:00
parent c02ba1003b
commit 8c5862c538
2 changed files with 1 additions and 3 deletions

View File

@@ -25,8 +25,6 @@
#include "power/BatteryLevel.h"
#include "power/PowerHAL.h"
#include "sleep.h"
#ifdef ARCH_ESP32
#endif
#if defined(ARCH_PORTDUINO)
#include "api/WiFiServerAPI.h"

View File

@@ -97,7 +97,7 @@ class AnalogBatteryLevel : public HasBatteryLevel
#endif
};
#if !MESHTASTIC_EXCLUDE_I2C && __has_include(<Adafruit_MAX1704X.h>)
#if !MESHTASTIC_EXCLUDE_I2C && HAS_TELEMETRY && !MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR && __has_include(<Adafruit_MAX1704X.h>)
class MAX17048BatteryLevel : public HasBatteryLevel
{
private: