removed pmu flag
This commit is contained in:
@@ -19,19 +19,13 @@
|
|||||||
#define CONFIG_PMU_IRQ 35
|
#define CONFIG_PMU_IRQ 35
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
bool pmu_flag = 0;
|
|
||||||
XPowersPMU power;
|
XPowersPMU power;
|
||||||
|
|
||||||
const uint8_t i2c_sda = CONFIG_PMU_SDA;
|
const uint8_t i2c_sda = CONFIG_PMU_SDA;
|
||||||
const uint8_t i2c_scl = CONFIG_PMU_SCL;
|
const uint8_t i2c_scl = CONFIG_PMU_SCL;
|
||||||
const uint8_t pmu_irq_pin = CONFIG_PMU_IRQ;
|
const uint8_t pmu_irq_pin = CONFIG_PMU_IRQ;
|
||||||
|
|
||||||
void setFlag(void)
|
|
||||||
{
|
|
||||||
pmu_flag = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// LoRa radio module pins for TBeam
|
// LoRa radio module pins for TBeam
|
||||||
#define P_LORA_DIO_0 26
|
#define P_LORA_DIO_0 26
|
||||||
|
|||||||
Reference in New Issue
Block a user