v1.8.34 (power on/off features for T-BEAM V10)
This commit is contained in:
1 parent
6abfc26f2e
commit
7daa36366b
7 files changed
+120
-82
No files matched your search
+8
-8
@@ -9,16 +9,16 @@
|
||||
#define DEFAULT_VREF 1100 // tbd: use adc2_vref_to_gpio() for better estimate
|
||||
#define NO_OF_SAMPLES 64 // we do some multisampling to get better values
|
||||
|
||||
#ifdef HAS_PMU
|
||||
#include <axp20x.h>
|
||||
void pover_event_IRQ(void);
|
||||
void AXP192_power(bool on);
|
||||
#endif
|
||||
|
||||
void AXP192_init(void);
|
||||
void AXP192_displaypower(void);
|
||||
uint16_t read_voltage(void);
|
||||
void calibrate_voltage(void);
|
||||
bool batt_sufficient(void);
|
||||
|
||||
#ifdef HAS_PMU
|
||||
#include <axp20x.h>
|
||||
void power_event_IRQ(void);
|
||||
void AXP192_power(bool on);
|
||||
void AXP192_init(void);
|
||||
void AXP192_showstatus(void);
|
||||
#endif // HAS_PMU
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user