Tactility/boards/lilygo_tdeck/lilygo_tdeck.c
Ken Van Hoeylandt 632d7ccccf
Implemented power management (#67)
- Implemented HAL for for power management
- Implemented the Power app (accessible via Settings app)
- Implemented status bar icon for battery status
2024-11-02 23:40:26 +01:00

19 lines
392 B
C

#include "lilygo_tdeck.h"
#include "display_i.h"
#include <stdbool.h>
bool tdeck_bootstrap();
bool tdeck_init_lvgl();
extern const SdCard tdeck_sdcard;
const HardwareConfig lilygo_tdeck = {
.bootstrap = &tdeck_bootstrap,
.display = {
.set_backlight_duty = &tdeck_backlight_set
},
.init_graphics = &tdeck_init_lvgl,
.sdcard = &tdeck_sdcard,
.power = NULL
};