Replace Tactility SystemEvents with new kernel implementation (#598)

TactilityKernel now has a system event API to replace the one from the Tactility subproject. It also implements several tests for it.
This commit is contained in:
Ken Van Hoeylandt
2026-07-29 17:31:20 +02:00
committed by GitHub
parent 6e55e71e67
commit acb2f1d4c7
19 changed files with 589 additions and 190 deletions
+2 -2
View File
@@ -6,8 +6,8 @@
#include <memory>
#ifdef ESP_PLATFORM
#include <Tactility/SystemEvents.h>
#include <Tactility/TactilityCore.h>
#include <tactility/system_event.h>
#include <esp_netif_sntp.h>
#include <esp_sntp.h>
#endif
@@ -45,7 +45,7 @@ static void onTimeSynced(timeval* tv) {
processedSyncEvent = true;
esp_netif_sntp_deinit();
storeTimeInNvs();
kernel::publishSystemEvent(kernel::SystemEvent::Time);
system_event_emit(KERNEL_EVENT_TIME_CHANGED, nullptr, 0);
}
void init() {