update pin definitions

update toolchain
enable telemetry
fix compilation
This commit is contained in:
Thomas Göttgens
2024-09-21 11:27:14 +02:00
parent 5dcaceccdd
commit 8e5928276b
6 changed files with 31 additions and 25 deletions

View File

@@ -136,6 +136,7 @@ using namespace meshtastic;
*/
static HasBatteryLevel *batteryLevel; // Default to NULL for no battery level sensor
// warning: 'void adcEnable()' defined but not used [-Wunused-function]
static void adcEnable()
{
#ifdef ADC_CTRL // enable adc voltage divider when we need to read
@@ -149,6 +150,7 @@ static void adcEnable()
#endif
}
// warning: 'void adcDisable()' defined but not used [-Wunused-function]
static void adcDisable()
{
#ifdef ADC_CTRL // disable adc voltage divider when we need to read

View File

@@ -17,6 +17,7 @@
#include "target_specific.h"
#ifdef ARCH_ESP32
// "esp_pm_config_esp32_t is deprecated, please include esp_pm.h and use esp_pm_config_t instead"
#include "esp32/pm.h"
#include "esp_pm.h"
#if HAS_WIFI