- Updated all boards to use `hal::Configuration.createDevices` - Updated all boards to use new directory structure and file naming convention - Refactored `Xpt2046SoftSpi` driver. - Created `Axp2101Power` device in `Drivers/AXP2101` - Removed global static instances from some drivers (instances that kept a reference to the Device*) - Improved `SystemInfoApp` UI: better memory labels, hide external memory bar when there's no PSRAM - Fix for HAL: register touch devices after displays are registered - Fix for Boot splash hanging on WiFi init: unlock file lock after using it
9 lines
157 B
C++
9 lines
157 B
C++
#pragma once
|
|
|
|
#include <memory>
|
|
#include <Xpt2046Touch.h>
|
|
|
|
extern std::shared_ptr<Xpt2046Touch> touchInstance;
|
|
|
|
std::shared_ptr<Xpt2046Touch> createTouch();
|