esp32 1W LoRa added

This commit is contained in:
richonguzman 2024-01-02 22:41:54 -03:00
parent 250c0a5888
commit 067d1dc67b
4 changed files with 40 additions and 19 deletions

View file

@ -22,7 +22,7 @@ namespace BATTERY_Utils {
#if defined(TTGO_T_LORA_V2_1) || defined(HELTEC_V2)
sample = analogRead(batteryPin);
#endif
#ifdef HELTEC_V3
#if defined(HELTEC_V3) || defined(ESP32_DIY_LoRa) || defined(ESP32_DIY_1W_LoRa)
sample = 0;
#endif
sampleSum += sample;