committed by
GitHub
parent
80245e08fa
commit
103588948f
@@ -1,4 +1,5 @@
|
||||
#include "hal/Configuration.h"
|
||||
#include "hal/SimulatorPower.h"
|
||||
#include "LvglTask.h"
|
||||
#include "src/lv_init.h"
|
||||
#include "SdlDisplay.h"
|
||||
@@ -6,8 +7,6 @@
|
||||
|
||||
#define TAG "hardware"
|
||||
|
||||
extern const tt::hal::Power power;
|
||||
|
||||
static bool initBoot() {
|
||||
lv_init();
|
||||
lvgl_task_start();
|
||||
@@ -30,7 +29,7 @@ extern const tt::hal::Configuration hardware = {
|
||||
.createDisplay = createDisplay,
|
||||
.createKeyboard = createKeyboard,
|
||||
.sdcard = nullptr,
|
||||
.power = &power,
|
||||
.power = simulatorPower,
|
||||
.i2c = {
|
||||
tt::hal::i2c::Configuration {
|
||||
.name = "Internal",
|
||||
|
||||
Reference in New Issue
Block a user