mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 10:53:17 +00:00
- Update `Configuration` to use C++ vector instead of C arrays - Rename `Desktop` app to `Launcher` - Fix for hard-coded app start of `Launcher` and `CrashDiagnostics` apps. - Ensure `Launcher` icons are clickable, even if they're not loading. - Don't show error scenario for SD card in statusbar when SD card status is unknown (this happens during Mutex timeout due to LVGL rendering delays) - Cleanup deprecated `Mutex` methods. - `hal::getConfiguration()` now returns a pointer instead of a reference, just like `tt:getConfiguration()`
26 lines
671 B
C++
26 lines
671 B
C++
#pragma once
|
|
|
|
#include "TactilityCore.h"
|
|
#include "hal/Configuration.h"
|
|
#include "Dispatcher.h"
|
|
|
|
namespace tt {
|
|
|
|
/** Initialize the hardware and started the internal services. */
|
|
void initHeadless(const hal::Configuration& config);
|
|
|
|
/** Provides access to the dispatcher that runs on the main task.
|
|
* @warning This dispatcher is used for WiFi and might block for some time during WiFi connection.
|
|
* @return the dispatcher
|
|
*/
|
|
Dispatcher& getMainDispatcher();
|
|
|
|
} // namespace
|
|
|
|
namespace tt::hal {
|
|
|
|
/** While technically this configuration is nullable, it's never null after initHeadless() is called. */
|
|
const Configuration* _Nullable getConfiguration();
|
|
|
|
} // namespace
|