mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
removed unnecessary defines
This commit is contained in:
parent
aca0bcc919
commit
c2f92534df
1 changed files with 1 additions and 13 deletions
|
|
@ -7,19 +7,6 @@
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
#include "XPowersLib.h"
|
#include "XPowersLib.h"
|
||||||
|
|
||||||
#ifndef CONFIG_PMU_SDA
|
|
||||||
#define CONFIG_PMU_SDA 21
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef CONFIG_PMU_SCL
|
|
||||||
#define CONFIG_PMU_SCL 22
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef CONFIG_PMU_IRQ
|
|
||||||
#define CONFIG_PMU_IRQ 35
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
XPowersPMU power;
|
XPowersPMU power;
|
||||||
|
|
||||||
// LoRa radio module pins for TBeam
|
// LoRa radio module pins for TBeam
|
||||||
|
|
@ -45,6 +32,7 @@ class TBeamBoard : public ESP32Board {
|
||||||
public:
|
public:
|
||||||
void begin() {
|
void begin() {
|
||||||
ESP32Board::begin();
|
ESP32Board::begin();
|
||||||
|
|
||||||
power.setALDO2Voltage(3300);
|
power.setALDO2Voltage(3300);
|
||||||
power.enableALDO2();
|
power.enableALDO2();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue