HAL renaming & relocation (#215)

Implemented more consistent naming:
- Moved all HAL devices into their own namespace (and related folder)
- Post-fixed all HAL device names with "Device"
This commit is contained in:
Ken Van Hoeylandt
2025-02-09 16:48:23 +01:00
committed by GitHub
parent a7a3b17ff6
commit 2345ba6d13
62 changed files with 263 additions and 250 deletions
@@ -191,7 +191,7 @@ void TdeckDisplay::setPowerOn(bool turnOn) {
}
}
std::shared_ptr<tt::hal::Touch> _Nullable TdeckDisplay::createTouch() {
std::shared_ptr<tt::hal::touch::TouchDevice> _Nullable TdeckDisplay::createTouch() {
return std::make_shared<TdeckTouch>();
}
@@ -233,6 +233,6 @@ void TdeckDisplay::setGammaCurve(uint8_t index) {
}
}
std::shared_ptr<tt::hal::Display> createDisplay() {
std::shared_ptr<tt::hal::display::DisplayDevice> createDisplay() {
return std::make_shared<TdeckDisplay>();
}