mirror of
https://github.com/meshtastic/firmware.git
synced 2026-01-08 19:07:26 +00:00
update pin definitions
update toolchain enable telemetry fix compilation
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user