Unphone battery status (#176)

This commit is contained in:
Ken Van Hoeylandt
2025-01-21 19:53:00 +01:00
committed by GitHub
parent c3bcf93698
commit 97b8007aca
6 changed files with 149 additions and 3 deletions
+2
View File
@@ -1,6 +1,7 @@
#include "UnPhoneFeatures.h"
#include "hal/Configuration.h"
#include "hal/UnPhoneDisplay.h"
#include "hal/UnPhonePower.h"
#include "hal/UnPhoneSdCard.h"
bool unPhoneInitPower();
@@ -16,6 +17,7 @@ extern const tt::hal::Configuration unPhone = {
.initLvgl = unPhoneInitLvgl,
.createDisplay = createDisplay,
.sdcard = createUnPhoneSdCard(),
.power = unPhoneGetPower,
.i2c = {
tt::hal::i2c::Configuration {
.name = "Internal",