T-BEAM v1.0 ON/OFF button function added

This commit is contained in:
Verkehrsrot committed 2019-09-09 23:00:06 +02:00
1 parent 50c6ba2837
commit ff6fce0a1d
2 files changed
+33 -10

No files matched your search

+1 -2
View File
@@ -11,8 +11,8 @@
#ifdef HAS_PMU
#include <axp20x.h>
extern AXP20X_Class pmu; // Make axp instance globally availabe
void pover_event_IRQ(void);
void AXP192_power(bool on);
#endif
void AXP192_init(void);
@@ -20,5 +20,4 @@ uint16_t read_voltage(void);
void calibrate_voltage(void);
uint8_t getBattLevel(void);
#endif