Power improvements (#114)

This commit is contained in:
Ken Van Hoeylandt
2024-12-09 21:58:30 +01:00
committed by GitHub
parent e4206e8637
commit da81256622
16 changed files with 370 additions and 96 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
#include "hal/Configuration.h"
#include "hal/TdeckDisplay.h"
#include "hal/TdeckKeyboard.h"
#include "hal/TdeckPower.h"
#include "hal/sdcard/Sdcard.h"
bool tdeck_init_power();
@@ -16,7 +17,7 @@ extern const tt::hal::Configuration lilygo_tdeck = {
.createDisplay = createDisplay,
.createKeyboard = createKeyboard,
.sdcard = &tdeck_sdcard,
.power = nullptr,
.power = tdeck_get_power,
.i2c = {
tt::hal::i2c::Configuration {
.name = "Internal",