TactilityKernel improvements and more (#459)

This commit is contained in:
Ken Van Hoeylandt
2026-01-25 23:54:33 +01:00
committed by GitHub
parent 96eccbdc8d
commit dfe2c865d1
36 changed files with 759 additions and 331 deletions
+4
View File
@@ -3,6 +3,7 @@
#include "devices/TrackballDevice.h"
#include <Tactility/hal/gps/GpsConfiguration.h>
#include <Tactility/kernel/Kernel.h>
#include <Tactility/kernel/SystemEvents.h>
#include <Tactility/Logger.h>
#include <Tactility/LogMessages.h>
@@ -30,6 +31,9 @@ static bool powerOn() {
return false;
}
// Avoids crash when no SD card is inserted. It's unknown why, but likely is related to power draw.
tt::kernel::delayMillis(100);
return true;
}
@@ -17,10 +17,10 @@ static int stop(Device* device) {
Driver tlora_pager_driver = {
.name = "T-Lora Pager",
.compatible = (const char*[]) { "lilygo,tlora-pager", nullptr },
.start_device = start,
.stop_device = stop,
.startDevice = start,
.stopDevice = stop,
.api = nullptr,
.device_type = nullptr,
.deviceType = nullptr,
.internal = { 0 }
};