mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-19 03:13:14 +00:00
20 lines
388 B
C++
20 lines
388 B
C++
#include "devices/Display.h"
|
|
#include "devices/SdCard.h"
|
|
|
|
#include <Tactility/hal/Configuration.h>
|
|
|
|
using namespace tt::hal;
|
|
|
|
static DeviceVector createDevices() {
|
|
auto touch = createTouch();
|
|
return {
|
|
createSdCard(),
|
|
createDisplay(touch)
|
|
};
|
|
}
|
|
|
|
extern const Configuration hardwareConfiguration = {
|
|
.initBoot = nullptr,
|
|
.createDevices = createDevices
|
|
};
|