From d4a23c35af872f628e164363e694d009cee16af6 Mon Sep 17 00:00:00 2001 From: Verkehrsrot Date: Mon, 18 Mar 2019 00:50:29 +0100 Subject: [PATCH] heltec v2 hal file fix --- src/hal/heltecv2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hal/heltecv2.h b/src/hal/heltecv2.h index 82ecebc1..2f668d91 100644 --- a/src/hal/heltecv2.h +++ b/src/hal/heltecv2.h @@ -18,9 +18,9 @@ #define HAS_LED LED_BUILTIN // white LED on board #define HAS_BUTTON KEY_BUILTIN // button "PROG" on board -//#define HAS_BATTERY_PROBE ADC2_GPIO13_CHANNEL // battery probe GPIO pin +#define HAS_BATTERY_PROBE ADC2_GPIO13_CHANNEL // battery probe GPIO pin #define BATT_FACTOR 4 // voltage divider 220k/100k on board -#define HAS_LOWPOWER_SWITCH GPIO_NUM_21 // switches battery power +//#define HAS_LOWPOWER_SWITCH GPIO_NUM_21 // switches battery power // Pins for I2C interface of OLED Display #define MY_OLED_SDA (4)